daniil-vlasenko

7.46

Jul 22nd, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. x = int(input())
  2. z = 2
  3. if x != 2:
  4. for i in range(x-3):
  5. if x % z != 0:
  6. z += 1
  7. else:
  8. break
  9. else:
  10. print('prostoe')
  11. if x % z == 0 and x != 2:
  12. print('slozhnoe')
  13. if x % z != 0:
  14. print('prostoe')
Advertisement
Add Comment
Please, Sign In to add comment