Advertisement
DeukausGames

Mobile Obi

Aug 22nd, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.30 KB | None | 0 0
  1. #Mobile
  2. # By : Deukaus / Matheus Santos
  3. # OBI 2015 nivel junior f1
  4. # python
  5. # https://olimpiada.ic.unicamp.br/pratique/pj/2015/f1/mobile/
  6.  
  7. A = int(input())
  8. B = int(input())
  9. C = int(input())
  10. D = int(input())
  11.  
  12. if A == (B + C + D) and D == (B + C) and B == C:
  13.     print("S")
  14. else:
  15.     print("N")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement