Easy
Filter With a Mask
Read marks and print the passing marks (≥ 40) as a list and how many passed.
Input
One line of integers.
Output
Two lines.
Sample 1
Input
72 35 88 40 19
Output
[72, 88, 40] 3
Sample 2
Input
39
Output
[] 0
Output appears hereOne line of integers.
Two lines.
72 35 88 40 19
[72, 88, 40] 3
39
[] 0
Output appears here