fork download
  1. import math
  2. x = int(input())
  3. y = x+9999
  4. z = x*9999
  5. print(y,end = '\n')
  6. print(z)
Success #stdin #stdout 0.02s 9192KB
stdin
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
stdout
10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009999
99990000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000