fork download
  1. x=int(input())
  2. y=int(input())
  3. if x > 0 and y > 0:
  4. C= x // y
  5. r = x % y
  6. print(C,"r", r)
  7.  
Success #stdin #stdout 0.07s 14040KB
stdin
9
4
stdout
2 r 1