n, m = input().split()
c = int(n) // int(m)
d = int(n) % int(m)
print(c)
print(d)

759d459066ae8d820b28f55603b92e31eda62348
<mask token>

<mask token>
print(c)
print(d)

n, m = input().split()
c = int(n) // int(m)
d = int(n) % int(m)
print(c)
print(d)
