In Python write a program that reads a list of integers into a list as long as the integers are greater than zero, then outputs the values of the list.

Ex: If the input is:

10
5
3
21
2
-6
the output is:

[10, 5, 3, 21, 2]