Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = int(input())
- x, y, z = input().split(" ")
- x, y, z = int(x), int(y), int(z)
- def rok(n):
- if(a%n==0):
- return "TAK "
- else:
- return "NIE "
- s = rok(x) + rok(y) + rok(z)
- print(s.rstrip())
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement