LearnPy Hub
← Iterators & Generators problems
Medium

Generator Pipeline

Build a pipeline of generators: numbers from the input → keep the odd ones → square them → keep those under 100. Print the result on one line (or none).

Input

One line of integers.

Output

One line.

Sample 1

Input
1 2 3 4 5 11
Output
1 9 25

Sample 2

Input
2 4 6
Output
none
solution.py
Output appears here
Generator Pipeline · Python practice problem · LearnPy Hub