a,b=list(map(int,input().split()))

d =  a // b

r = a % b

f = ("%.5f" % (a/b))                                                      

l=[d,r,f]

print(("{0} {1} {2}".format(l[0],l[1],l[2])))
num=input().split()

a=int(num[0])

b=int(num[1])



d=a//b

r=a%b

f=float(a/b)

print((d,r,"{:.5f}".format(f)))

a, b = list(map(int, input().split()))
d = a // b
r = a % b
f = "%.5f" % (a / b)
l = [d, r, f]
print(("{0} {1} {2}".format(l[0], l[1], l[2])))

num = input().split()
a = int(num[0])
b = int(num[1])
d = a // b
r = a % b
f = float(a / b)
print((d, r, "{:.5f}".format(f)))

-a, b = list(map(int, input().split())) +num = input().split() +a = int(num[0]) +b = int(num[1]) -f = "%.5f" % (a / b) -l = [d, r, f] -print(("{0} {1} {2}".format(l[0], l[1], l[2]))) +f = float(a / b) +print((d, r, "{:.5f}".format(f)))