Easy
Marks Present
Print how many math marks and how many english marks are present (not missing), on one line, using
notna().sum().Input
Lines 'name math english' ('-' = missing), then END.
Output
One line.
Sample 1
Input
Mim 88 79 Rafi - 91 Sara 95 - Tuhin 70 - END
Output
3 2
Sample 2
Input
A 1 2 END
Output
1 1
Output appears here