Masala A
Odd | Even ?
Given a list of integers, determine whether the sum of its elements is odd or even.
Give your answer as a string matching "odd" or "even".
If the input array is empty consider it as: [0] (array with a zero).
Kiruvchi ma'lumotlar:
Chiquvchi ma'lumotlar:
Misollar
| # | input.txt | output.txt |
|---|---|---|
| 1 |
1 2 3 |
even |