n = int(input()) for i in range(n): c, v = map(int, input().split()) print("You get {0} piece(s) and your dad gets {1} piece(s).".format(c//v, c%v))
2023-03-21