LearnPy Hub
← Async Basics problems
Medium

Check Them All Together

Write async def is_prime(n) (with a tiny sleep). Read integers, gather is_prime() for all of them, and print the primes in input order on one line (or none).

Input

Integers separated by spaces.

Output

One line.

Sample 1

Input
2 3 4 5 9 11
Output
2 3 5 11

Sample 2

Input
1
Output
none
solution.py
Output appears here
Check Them All Together · Python practice problem · LearnPy Hub