import sys

(a, b) = [int(i) for i in input().split(' ')]

d = a // b

r = a % b

f = a / b    

print((repr(d) +" "+ repr(r) +" "+ ('%0.5f' % f)))
(a, b) = [int(i) for i in input().split(' ')]  

print(( repr(a // b) +" "+ repr(a % b) +" "+ ('%0.5f' % (a / b))))
import sys

(a, b) = [int(i) for i in input().split(" ")]
d = a // b
r = a % b
f = a / b
print((repr(d) + " " + repr(r) + " " + ("%0.5f" % f)))

(a, b) = [int(i) for i in input().split(" ")]
print((repr(a // b) + " " + repr(a % b) + " " + ("%0.5f" % (a / b))))

-import sys - -d = a // b -r = a % b -f = a / b -print((repr(d) + " " + repr(r) + " " + ("%0.5f" % f))) +print((repr(a // b) + " " + repr(a % b) + " " + ("%0.5f" % (a / b))))