Problem Description

Given n numbers, count how many are odd and how many are even. Print as: oddCount evenCount.

Input Format

Line1: n. Line2: n integers.

Output Format

Two integers: odd even.

Sample Test Case

Input:
5 1 2 3 4 5
Output:
3 2

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next