Medium
Count the Truthy Values
Read words. Treat each as Python would after conversion: a word that is a whole number becomes an int, any other word stays a string. Print how many of the resulting values are truthy.
Input
Words separated by spaces.
Output
One integer.
Sample 1
Input
0 1 hello 0
Output
2
Sample 2
Input
0 0
Output
0
Output appears here