fork download
  1. # your code goes here
  2.  
  3.  
  4. n = input()
  5.  
  6. print(int(n) - 1)
  7. print(int(n) + 1)
Success #stdin #stdout 0.02s 9356KB
stdin
3
stdout
2
4