import sys

from decimal import Decimal



(a, b) = [Decimal(i) for i in sys.stdin.readline().split(' ')]



print((a // b,  a % b,  round(a / b, 5)))
(a, b) = [int(x) for x in input().split()]



di = a // b

m = a % b

df = a / b



print(('{0} {1} {2:.8f}'.format(di, m, df)))
import sys
from decimal import Decimal

(a, b) = [Decimal(i) for i in sys.stdin.readline().split(" ")]
print((a // b, a % b, round(a / b, 5)))

(a, b) = [int(x) for x in input().split()]
di = a // b
m = a % b
df = a / b
print(("{0} {1} {2:.8f}".format(di, m, df)))

-import sys -from decimal import Decimal - -(a, b) = [Decimal(i) for i in sys.stdin.readline().split(" ")] -print((a // b, a % b, round(a / b, 5))) +(a, b) = [int(x) for x in input().split()] +di = a // b +m = a % b +df = a / b +print(("{0} {1} {2:.8f}".format(di, m, df)))