LearnPy Hub
← NumPy problems
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
solution.py
Output appears here
Filter With a Mask · Python practice problem · LearnPy Hub