题目描述
Given a positive integer N, determine whether it is odd or even.
Example 1:
Input:
N = 1
Output:
odd
Explanation:
The output is self-
explanatory.
Example 2:
Input:
N = 2
Output:
even
Explanation:
The output is self-
explanatory.
Your Task:
You don't need to read input or print anything. Your task is to complete the function oddEven() which takes the integer N and return "even" is number is even and "odd" if the number is odd.
Expected Time Complexity: O(1)
Expected Auxiliary Space: O(1)
Constraints:
0 <= N <= 10000
输入格式
见题面
输出格式
见题面
样例输入
N = 1
样例输出
odd