fork download
  1. a = int(input())
  2. b = input()
  3. c = int(input())
  4. if b == "+":
  5. print(a + c)
  6. elif b == "-":
  7. print(a - c)
  8. if b == "*":
  9. print(a * c)
  10. elif b == "/":
  11. print(a / c)
  12. if b == "%":
  13. print(a % c)
  14. if b == "**":
  15. print(a ** c)
  16. if b == "//":
  17. print(a // c)
  18. else:
  19. print("")
Success #stdin #stdout 0.04s 9856KB
stdin
10
ju
5
stdout