สถานะการส่งล่าสุด: -

SOS11: ChicKen

ChicKen

Write a program that printing Chic, Ken, ChicKen, or input number from the following condition

If the num is a multiple of 2: output will be Chic
If the num is a multiple of 7: output will be Ken
If the num is a multiple of both 2 and 7: output will be ChicKen
other will print the input number

ex.

Enter a number 1
1


Enter a number 2
Chic


Enter a number 7
Ken


Enter a number 14
ChicKen


num = int(input("Enter a number"))