fork download
  1. N = int(input())
  2. K = int(input())
  3.  
  4. print(K // N)
  5. print(K % N)
  6.  
Success #stdin #stdout 0.01s 7232KB
stdin
3
14
stdout
4
2