~/algor $ cat problems/musbatlar-soni
Count the positives
Easy
1000 ms
64 MB
17%
Three integers $A$, $B$ and $C$ are given. Determine how many of them are positive. Zero is not positive.
Input
One line with three integers: $A$, $B$ and $C$.
Output
One integer — the number of positive numbers (from $0$ to $3$).
Note
$-10^{9} \le A, B, C \le 10^{9}$
Examples
Input #1
1 -2 3
Output #1
2
Input #2
-1 -2 -3
Output #2
0