FUACM003 - Problems 3: For Fun Sequence
A "sequence A" with n integer elements is called a "Fun Sequence" if all the elements are odd. Given a sequence, you must answer the question "Sequence is "Fun Sequence", isn't it?". If true print "Oh! Fun" else print "No".
Input
First line, integer n (n <= 100)
Second line, n element of sequence A, (1 <= A[i] <= 100)
Output
Your answer.
Example
Input 1: 5 1 3 5 7 9 Output 1: Oh! Fun
Input 2: 4 1 2 5 7 Output 2: No
Added by: | Gầy :)) |
Date: | 2014-11-14 |
Time limit: | 1s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: ASM64 |