Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- b = int(input())
- c = int(input())
- for i in range(2, a + 1):
- for j in range(2, b + 1):
- for x in range(2, c + 1):
- if i % 2 == 0 and x % 2 == 0 and (j == 2 or j == 3 or j == 5 or j == 7):
- print(f'{i} {j} {x}')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement