문제

링크

풀이

a, b = map(int, input().split())
print(a // b)
print(a % b)