Problem:
A/B Problem Write a program which reads two integers a and b , and calculates the following values:  a ÷ b : d (in integer)  remainder of a ÷ b : r (in integer)  a ÷ b : f (in real number)  Input Two integers a and b are given in a line. Output Print d , r and f separated by a space in a line. For f , the output should not contain an absolute error greater than 10 -5 . Constraints  1 ≤ a , b ≤ 10 9  Sample Input 1 3 2 Sample Output 1 1 1 1.50000

Solution (Python):
a,b=(int(x) for x in input().split())
c=a//b
d=a%b
e=a/b
print(f"{c} {d} {e:.5f}")

Solution (Python):
import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
s = input().rstrip().split(' ')
a = int(s[0])
b = int(s[1])
base = a / b
c = math.floor(base)
d = a % b
e = Decimal(str(base)).quantize(Decimal('0.00001'), rounding=ROUND_HALF_UP)
print(str(c) + " " + str(d) + " " + str(e))

Solution (Python):
a,b = map(int,input().split())
d = int(a / b)
r = a % b
f = a / b
print(d,r,'%.5f' %f)

Solution (Python):
a, b = map(int, input().split())
d = a//b
r = a%b
f = a/b
print("%d %d %f" %(d,r,f))

Solution (Python):
a,b=map(int,input().split())

d=a/b
r=a%b
f=a/b
print("%d %d %.10f" %(d, r, f))

Solution (Python):
a, b = [int(n) for n in input().split()]
print(a//b, a%b, '{:.10f}'.format(a/b))

Solution (Python):
a, b = map(int, input().split())
print(a//b)
print(a%b)
print(f'{a/b:.5f}')

Solution (Python):
a,b=map(int,input().split())
d=a//b
r=a%b
f=round(a/b,5)
print(d,r,f)

Solution (Python):
a,b = map(int, input().split())
print(int(a/b), a%b, "{:.5f}".format(a/b))

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
a,b=(int(x) for x in input().split())
print(a//b,a%b,f"{a/b:.8f}")

Solution (Python):
ab = list(map(int, input().split()))

print("{0} {1} {2:.5f}".format(ab[0]//ab[1], ab[0]%ab[1], float(ab[0]/ab[1])))

Solution (Python):
a, b = map(int,input().split())
print('{} {} {:.6f}'.format(a//b, a%b, a/b))

Solution (Python):
a,b=map(int,input().split())

print(a//b,a%b,round(a/b,5))

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,f"{a/b:.8f}")

Solution (Python):
a,b=map(int,input().split())
d=a//b
r=a%b
f=a/b
print('%d %d %.10f' %(d,r,f))

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, "{0:.10f}".format(a/b))

Solution (Python):
a, b = map(int, input().split())
print(a // b)
print(a % b)
print('{:.8f}'.format(a / b))

Solution (Python):


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

d = a // b
r =  a % b
f = a / b

print("%d %d %f"%(d, r, f))

Solution (Python):
a,b=map(int,input().split())

print("{} {} {:.5f}".format(int(a/b),a%b,a/b))

Solution (Python):
a, b = map(int, input().split())
print(a // b, a % b, format(a / b, '.10f'))

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,'{:.5f}'.format(a/b))

Solution (Python):
input_value = input()

a, b = map(int, input_value.split())

print('{d} {r} {f:.5f}'.format(d=(a // b), r=(a % b), f=(a / b)))

Solution (Python):
import math
a, b = map(int, input().split())

waru = a//b
amari = a - waru * b
waru_s = format(a/b, "f")

print(waru,amari,waru_s)

Solution (Python):
a,b = map(int, input().split())

d = a // b
r = a % b
f = a/b

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

Solution (Python):
a,b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.5f}")

Solution (Python):
a,b=map(int,input().split())
print(a//b,a%b,'%f'%(a/b))

Solution (Python):
a, b = map(int, input().split())
print("{} {} {:5f}".format(a // b, a % b, float(a / b)))

Solution (Python):
a,b = map(float, input().split())
d = a // b
r = a % b
f = a/b

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

Solution (Python):
a, b = map(int, input().split())
d = int(a / b)
r = int(a % b)
f = float(a / b)
print(d, r, format(f, ".5f"))

Solution (Python):
a,b = map(int, input().split())
d = a//b
r = a%b
f = a/b
print("%d %d %f" %(d,r,f))

Solution (Python):
x=list(map(int,input().split()))
print(str(x[0]//x[1])+' '+str(x[0]%x[1])+' '+str('{:.5f}'.format(x[0]/x[1])))

Solution (Python):
a,b = map(int,input().split())

d = int(a/b)
r = int(a%b)
f = a/b

print("%d %d %.5f" % (d,r,f))

Solution (Python):
a,b = map(int,input().split())

d = int(a/b)
r = int(a%b)
f = a/b

print(d,r,round(f,5), sep =" ")

Solution (Python):
x,y=map(int,input().split())
a = x // y
b = x % y
c = float(x) / float(y)
print("{0} {1} {2:.12f}".format(a,b,c))

Solution (Python):
a, b, = list(map(int, input().split()))
d = a//b
r = a%b
f = a/b
print(d, r, round(f, 7))

Solution (Python):
a,b = map(int,input().split())


print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print("{} {} {:.5f}". format(d, r, f))

Solution (Python):
a,b = map(int,input().split())
c= a//b 
d = a%b 
e = a/b
print('%d %d %.5f'%(c,d,e))

Solution (Python):
i = input().split()
n1 = int(i[0])
n2 = int(i[1])
d = str(n1//n2)
e = str(n1%n2)
f = str(format(n1/n2,'.5f'))
print(d+" "+e+" "+f)

Solution (Python):
a,b = map(int,input().split())

print(str(int(a/b)) + " " + str(a%b) + " " + str(format(a/b, '.5f')))

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,"{0:10.20f}".format(a/b))

Solution (Python):
def main():
  a, b = map(int, input().split(' '))




  d = a // b
  r = a % b
  f = a / b 
  
  print("{0} {1} {2:.8f}".format(d, r, f))

if __name__ == "__main__":
  main()

Solution (Python):
a,b = map(int,input().split())

ansa = a // b
ansb = a % b
ansc = a/b

print(f"{ansa} {ansb} {ansc:.5f}")

Solution (Python):
a, b = map(int, input().split())
print(str(a // b) + " " + str(a - a // b * b) + " " + str(int(a / b * 100000) / 100000))

Solution (Python):
a,b = [int(i) for i in input().split()]
print(a//b, a%b, "{0:.10f}".format(a/b))

Solution (Python):
a,b = list(map(int, input().split()))
d = a//b
r = a%b
f = a/b
print (f"{d} {r} {f:.5f}")

Solution (Python):

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

d= a//b

r=a%b

f= a/b

print(d, r, '{:.20f}'.format(f))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(d, r, "{:.5f}".format(f))

Solution (Python):
sc = input().split()
a = int(sc[0])
b = int(sc[1])
print('{} {} {:.10f}'.format(a // b, a % b, a / b))

Solution (Python):
import math
n=5
a,b=[int(i) for i in input().split()]
d=a//b
r=a%b
f="{:.5f}".format(math.floor(a/b*10**n)/(10**n))
print(str(d)+" "+str(r)+" "+str(f))

Solution (Python):
a,b = map(int,input().split())
x = a//b
y = a%b
z = float(a/b)
print(' {}'' {}'' {:.10f}'.format(x,y,z))

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.5f"%(a/b,a%b,a/b))

Solution (Python):


a, b = list(map(int, input().split()))
print("{} {} {:.10f}".format(a//b, a % b, a/b))

Solution (Python):
a, b = map(int, input().split())
print("%d %d %.10f"%(a/b, a%b, a/b))

Solution (Python):
def calc(a, b):
    d = a // b
    r = a % b
    f = a / b
    return '{} {} {:.5f}'.format(d, r, f)


if __name__ == "__main__":
    a, b = map(int, input().split())
    print(calc(a, b))

Solution (Python):
a, b = map(lambda x: int(x), input().split(" "))
d, r = divmod(a, b)
print("{} {} {:4f}".format(d, r, float(a) / float(b)))

Solution (Python):
a,b = map(int,input().split())

d = a // b
r = a % b
f = a / b

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

Solution (Python):
import decimal
a, b = map(float, input().split())
d = a//b
r = a%b
f = a/b
print(int(d), int(r), '{:.10f}'.format(f))

Solution (Python):
a, b = map(int, input().split())

d = a // b

r = a % b

f = a / b

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

Solution (Python):

import sys


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



print(a//b,a%b,'{:.5f}'.format(a/b))

Solution (Python):
a, b = map(int, input().split())

print("%d %d %.5f" % (a / b, a % b, a / b))

Solution (Python):
a, b = map(int, input().split())
print("%d %d %.10f" %(a/b, a%b, a/b))

Solution (Python):
a,b=map(int,input().split())

d=int(a/b)
r=int(a%b)
f=float(a/b)
print("{} {} {:.5f}".format(d,r,f))

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

d = a // b
r = int(a % b)
f = "{:.5f}".format(a / b)

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

Solution (Python):
a,b = map(int, input().split())

print("%d %d %f"%(a//b, a%b, float(a/b)))

Solution (Python):
val = input().split()
val = [int(n) for n in val]

d = val[0] // val[1]
r = val[0] % val[1]
f = val[0] / val[1]

print(d, r, '{:.10f}'.format(f))

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
x, y = map(int, input().split())
print(int(x / y), int(x % y), round((float(x) / float(y)), 6))

Solution (Python):
a, b = map(int,input().split())
print(a//b,a%b,f'{a/b:.10f}')

Solution (Python):
a, b = map(int, input().split())

print("%d %d %f" % (a // b, a % b, a / b))

Solution (Python):
a, b = map(int, input().split())
print("%d %d %f" %(a//b, a%b, a/b))

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, '{:.5f}'.format(a / b))

Solution (Python):
a, b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print(d,r,"{:.5f}".format(f))

Solution (Python):
s = input()
t = s.split()
a, b = int(t[0]),int(t[1])
f = '{} {} {:f}'.format(int(a/b),int(a%b),a/b)
print(f)

Solution (Python):
i = input()
a,b = map(int, i.split())

d = int(a/b)
r = a%b
f = float(a)/float(b)


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

Solution (Python):
a, b = [int(x) for x in input().split()]

d = a // b
r = a % b
f = a / b

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

Solution (Python):
a,b=map(int,input().split())
print(f"{a//b} {a%b} {(a/b):.10f}")

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = a / b
print("{} {} {:.5f}".format(d, r, f))

Solution (Python):
a,b=map(int,input().split())
print(int(a/b),a%b,format(a/b,".20f"))

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = "{0:.5f}".format(a / b)

print(d, r, f)

Solution (Python):
a,b = list(map(int,input().split()))
print(a//b)
print(a%b)
print("%1.5f"%(a/b))

Solution (Python):
hoge = list(map(int,input().split()))
a,b = hoge[0], hoge[1]
print("{0} {1} {2:.12f}".format(a//b,a%b,a/b))

Solution (Python):
a,b = map(int,input().split())
print(a//b, a%b, "{:.10f}".format(a/b))

Solution (Python):
a,b = map(int, input().split())
print(a//b,a%b,format(a/b,'.5f'))

Solution (Python):
a, b = [int(i) for i in input().split()]
d = int(a / b)
r = int(a % b)
f = a / b
print("{} {} {:.10f}".format(d, r, f))

Solution (Python):
a,b=map(int,input().split())

print(a//b,a%b,f"{a/b:.6f}")

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(d, r, "{:.5f}".format(f))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = float(a / b)
print('{} {} {:6f}'.format(d, r, f))

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, "{0:.8f}".format(a/b))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.9f}")

Solution (Python):
x,y=map(int,input().split())
print("{0} {1} {2:.5f}".format(str(x//y),str(x%y),float(x) / float(y)))

Solution (Python):
import sys
input = sys.stdin.readline

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

print('{} {} {:5f}'.format(a // b, a % b, a / b))

Solution (Python):
a, b = map(int, input().split())
d = int(a/b)
e = a%b
f = format(a/b, '10f')
print(d, e, f)

Solution (Python):
a, b = map(int, input().split())

print("%d %d %10f"%(a//b, a%b, a/b))

Solution (Python):
a,b=map(int,input().split())
print(int(a/b),end=" ")
print(a%b,end=" ")
print('{:.10f}'.format(a/b))

Solution (Python):
a,b=map(int,input().split())
print("{} {} {:.5f}".format(a//b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())

print(f'{a // b} {a % b} {a / b:.6f}')

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):



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

d=int(a/b)
r=a%b
f=a/b

print("%d %d %.5f"%(d,r,f))

Solution (Python):
a,b = map(int,input().split())
print('{} {} {:.5f}'.format(a//b,a%b,a/b))

Solution (Python):
a,b = map(int, input().split())
d = a//b
r = a%b
f = (a/b)

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

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, "%.10f" % (a/b))

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

ans1 = int(a / b)
ans2 = a % b
ans3 = float(a) / float(b)

print("{} {} {:.5f}".format(ans1, ans2, ans3))

Solution (Python):
a, b = map(int, input().split())
print("%d %d %f"%(a/b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print("{0} {1} {2:.5f}".format(d,r,f))

Solution (Python):
a,b = [int(i) for i in input().split()]

print("{0} {1} {2:.5f}".format(a//b, a%b, a/b))

Solution (Python):
a,b = map(int,input().split(' '))
print(a//b,a%b,f'{a/b:.10f}')

Solution (Python):
a,b = map(int,input().split())
d = a // b
r = a % b
f = float(a / b)
print(d, r, format(f,".10f"))

Solution (Python):
a, b = map(int, input().split())
d = int(a // b)
r = int(a % b)
f = a / b
print("{0} {1} {2:.6f}".format(d, r, f))

Solution (Python):
a, b = map(int, input().split())

result1 = int(a // b)
result2 = int(a % b)
result3 = float(a / b)

print(f"{result1} {result2} {result3:.5f}")

Solution (Python):
a, b = map(int, input().split())
print('{0} {1} {2:.5f}' .format(int(a/b), int(a%b), a/b))

Solution (Python):
a,b = map(int, input().split())

print(str(a//b))
print(str(a%b))
print("%.5f" %(a/b))

Solution (Python):
a, b = map(int, input().split())
print(a//b, a % b, '{:.6f}'.format(a/b))

Solution (Python):
a,b = map(int,input().split())
print("{0} {1} {2}".format(a//b,a%b, format(a/b, ".10f")))

Solution (Python):
l = input().split()

a = int(l[0])
b = int(l[1])

fdiv = a / b
print(a // b,a % b,f'{fdiv:.7f}')

Solution (Python):
a,b=map(int,input().split())
print("%d %d %.5f"%(a/b,a%b,a/b))

Solution (Python):
import sys
import itertools



read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

ans = 0
A = [int(i) for i in readline().split()]

print("%d %d %.10f" % (A[0] // A[1], A[0] % A[1], A[0] / A[1]))

Solution (Python):
a,b = map(float, input().split())
print(int(a/b), int(a%b), format(a/b, '.5f'))

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,"{0:10.20f}".format(a/b))

Solution (Python):
x,y = map(int,input().split())
d = int(x/y)
r = x%y
f = x/y
print(str(d)+" " + str(r)+" "+ "{:.5f}".format(f))

Solution (Python):
a,b=map(int,input().split())
print("%d %d %.5f"%(a/b,a%b,a/b))

Solution (Python):
a,b = map(int,input().split())
d = a // b 
r = a % b
f = a / b
print('%d %d %.10f' % (d,r,f))

Solution (Python):
a,b = map(int, input().split())
div, mod = divmod(a,b)
f = a/b
print('{} {} {:.9f}'.format(div, mod, f))

Solution (Python):
a,b = list(map(int, input().split() ))
d = a//b;
r = a%b;
f = a/b;
print(f"{d} {r} {f:.6f}")

Solution (Python):
import math
a, b = map(int, input().split())
print(a // b)
print(a % b)
n = 6
x = math.floor(a / b * 10**n) / 10**n
print(x)

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = float(a / b)

print(f"{d} {r} {f:.8f}")

Solution (Python):
a,b=map(int, input().split())
print("{} {} {:.10f}".format(a//b, a%b, a/b))

Solution (Python):
a,b=map(int,input().split())
print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())
print(a // b, end = " ")
print(a % b, end = " ")
print("%.10f" % (a / b))

Solution (Python):
def truncate(n, decimals=5):
    multiplier = 10 ** decimals
    return int(n * multiplier) / multiplier
a, b = [int(x) for x in input().split()]
d = int(a / b)
r = int(a % b)
f = truncate(a / b)
print(d , r , f)

Solution (Python):
number = input().split()
a = int(number[0])
b = int(number[1])

d = a // b
r = a % b
f = a / b

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

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
a,b=list(map(int,input().split()))
print(f"{a//b} {a%b} {a/b:.5f}")

Solution (Python):
a,b=(int(x) for x in input().split())
d=int(a/b)
r=a%b
f='{:.5f}'.format(a/b)
print(d,r,f)

Solution (Python):
a, b=input().split()
a=float(a)
b=float(b)
d, r=divmod(int(a),int(b))
f = a/b
print(str(d),str(r),"{:.5f}".format(f))

Solution (Python):
a, b = [int(i) for i in input().split()]
d = a // b
r = a % b
f = a / b
print(d, r, "{:.10f}".format(f))

Solution (Python):
a,b = map(int,input().split())

print("{} {} {:.5f}" .format(a//b, a%b, a/b))

Solution (Python):
import math

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

d = math.floor(a / b)
r = a % b
f = round(a / b, 5)

print(f"{d} {r} {f}")

Solution (Python):
a,b = map(int, input().split())
print(a//b, a%b, round(a/b, 5))

Solution (Python):
a, b = [int(x) for x in input().split()]

print("{} {} {:.5f}".format(a // b, a % b, a / b))

Solution (Python):
a,b = map(int, input().split())
f = a/b
print(str(a//b) + " " + str(a%b) + " " + '{:.8f}'.format(f))

Solution (Python):
a,b = map(int,input().split())

print(f"{a//b} {a%b} {a/b:f}")

Solution (Python):
a,b = map(int, input().split())
print(int(a/b), a%b, '{:.10f}'.format(a/b))

Solution (Python):

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

div_int = int(a / b)
mod = a % b
div = round(a / b, 5)

print(div_int, mod, div)

Solution (Python):
a,b = list(map(int, input().split()))
c = a // b
d = a % b
e = float(a/b)
print(f'{c} {d} {e:.5f}')

Solution (Python):

a, b = map(int, input().split())
print(a//b, a%b, "{:.5f}".format(a/b))

Solution (Python):
a,b = map(int, input().split())
d,r,f = a//b, a%b, a/b
print("%d %d %.5f"%(d,r,f))

Solution (Python):
a,b=map(int,input().split())

c = int(a/b)
d = a % b
e = a / b

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

Solution (Python):
a,b = map(int, raw_input().split())
print str(a/b)+" "+str(a%b)+" "+str("{0:.6f}".format(float(a)/float(b)))

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, "{0:6f}".format(a/b))

Solution (Python):
a, b = map(int, input().split())
print("{} {} {:.6f}" .format(a//b, a%b, a/b))

Solution (Python):
a, b = map(int, input().split())
print("{} {} {:.6f}".format(a//b, a%b, a/b))

Solution (Python):
a,b = map(int,input().split())
print("%d %d %.5f" % (a//b,a%b,a/b))

Solution (Python):
a,b = map(int,input().split())

print(int(a/b),a%b,round(a/b,6))

Solution (Python):
def calc_division(a, b):
    d = a // b
    r = a % b
    f = a / b
    print("{0:d} {1:d} {2:0.5f}".format(d, r, f))


if __name__ == "__main__":
    param = input()
    param = param.split(" ")
    a = int(param[0])
    b = int(param[1])
    calc_division(a, b)

Solution (Python):
a, b = map(int,input().split());print(a//b,a%b,round(float(a/b),5))

Solution (Python):
a,b=map(int,input().split())
x=a//b
y=a%b
z=a/b

z='{:f}'.format(z)
print(x,y,z)

Solution (Python):
a, b = map(int, input().split())
print("{} {} {:f}".format(int(a/b), a%b, (a/b)))

Solution (Python):
a, b = map(int, input().split())
print("%d %d %.5f" % (a//b, a%b, a/b))

Solution (Python):
a, b = map(int, input().split())

print(*[*divmod(a, b), format(a / b, ".6f")])

Solution (Python):
a,b=map(int,input().split())
print("{0} {1} {2:.10f}".format(a//b,a%b,a/b))

Solution (Python):
a,b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print(d,r,f"{f:.6f}")

Solution (Python):
a, b = map(int, input().split())
x = a // b
y = a % b
z = a / b
print(f"{x} {y} {z:.6f}")

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, round(a/b, 6))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(d, r, "{:.5f}".format(f))

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
from decimal import *

integers = list(map(int, input().split(" ")))
a = integers[0]
b = integers[1]

d = a // b
r = a % b
f = Decimal(str(a)) / Decimal(str(b))

print(d, r, f.quantize(Decimal("0.00001"),rounding=ROUND_HALF_UP))

Solution (Python):
a, b = map(int, input().split())
print(f'{a//b} {a%b} {a/b:.8f}')

Solution (Python):
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))

Solution (Python):
i = input().split()
a = int(i[0])
b = int(i[1])
print(str(int(a/b))+" "+str(a%b)+" "+str('{:.5f}'.format(a/b)))

Solution (Python):
a,b = map(int,input().split())
print("%d %d %.15f"%(a/b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())
print(a//b, a%b, "{:.5f}".format(a/b))

Solution (Python):
import sys

sys.setrecursionlimit(10 ** 6)
int1 = lambda x: int(x) - 1
p2D = lambda x: print(*x, sep="\n")

def main():
    a,b=list(map(int,input().split()))
    print(a//b,a%b,format(a/b,".6f"))
main()

Solution (Python):
a,b=map(int,input().split())
print(a//b,a%b,"{0:10.20f}".format(a/b))

Solution (Python):
a, b = map(int, input().split())
print("{:d} {:d} {:.10f}".format(a//b, a%b, a/b))

Solution (Python):
def A_divide_B(a,b):
    d = int(a/b)
    r = int(a%b)
    f = round(float(a)/b,5)
    return d,r,f


def main():
    a, b= map(int, input().split())
    d,r,f = A_divide_B(a,b)
    print("%d %d %.5f"%(d,r,f))

if __name__ == "__main__":
    main()

Solution (Python):
a, b = map(int, input().split())

print(a // b, end = " ")
print(a % b, end = " ")
print('%.5f'%(a / b))

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,"{:.10f}".format(a/b))

Solution (Python):
a,b = map(int,input().split())

d = a//b
r = a%b
f = a/b

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

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = a / b

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

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b, f"{a/b:.5f}")

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
x,y = map(int,input().split())
a = x / y
b = x // y
c = a - b
d = x - y * b
print(f"{b} {d} {a:.5f}")

Solution (Python):
a, b = [int(i) for i in input().split()]
q, mod = divmod(a, b)
div = round(a/b, 5)

print("{} {} {}".format(q, mod, div))

Solution (Python):
a,b=input().split()

a=int(a)
b=int(b)

d=a//b
r=a%b
f=a/b

print("{0} {1} {2:.8f}".format(d,r,f))

Solution (Python):
Input = input().split()
A = int(Input[0])
B = int(Input[1])
d = int(A/B)
r = (A%B)
f =float(A)/float(B)
print("{0} {1} {2:.8f}".format(d,r,f))

Solution (Python):
a,b=list(map(int,input().split()))
f=a/b
if f < 1e-5:
    f = 0
print(a//b,a%b,f)

Solution (Python):
a, b = map(int, input().split())

print(a // b, a % b, "%.6f"% (a / b))

Solution (Python):
a, b, *_ = map(int, input().split())
d = int(a / b)
r = a % b
f = round(a / b, 6)
print(f"{d} {r} {f}")

Solution (Python):
a,b = map(int, input().split())
print(a // b, a % b, "{:.5f}".format(a / b))

Solution (Python):
i = input()
a,b = map(int, i.split())

print(f"{a//b} {a%b} {a/b:.5f}")

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = (a * 10000000000 // b) / 10000000000
print("%d %d %.10f"% (d, r, f))

Solution (Python):
l = list(map(int, input().split()))
a,b = l[0],l[1]
c = a//b
d = a%b
e = a/b
print("%d %d %.10f"%(c, d, e))

Solution (Python):
a, b = map(int, input().split())
print("%d %d %f" % (a//b,a%b,a/b))

Solution (Python):
a,b=map(int, input().split())
d=a//b
r=a%b
f=a/b
print(d, r, "{:.5f}".format(f))

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

Solution (Python):
a, b = map(int, input().split())
print(a // b, a % b, '{:.5f}'.format(float(a) / float(b)))

Solution (Python):
n = input().split()
a,b = map(int,n)
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.5f}")

Solution (Python):
a,b = map(int,input().split())
print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
import math

a, b = (int(x) for x in input().split())
d = math.floor(a/b)
r = a%b
f = a/b

print(d, r, end=" ")
print("%.8f" %f)

Solution (Python):
l=input().split()
a=int(l[0])
b=int(l[1])
print(a//b,a%b,"{0:.5f}".format(a/b))

Solution (Python):
l=input().split()
a=int(l[0])
b=int(l[1])
print(a//b,a%b,"{0:.5f}".format(a/b))

Solution (Python):
arr=input().split()
for i,v in enumerate(arr):
    arr[i]=int(v)
d=arr[0]//arr[1]
r=arr[0]%arr[1]
f=arr[0]/arr[1]
print(d,r,'%.5f'%f)

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,"{0:.20f}".format(a/b))

Solution (Python):

a,b=map(int,input().rstrip().split(' '))
print(f"{a//b} {a%b} {a/b:.12f}")

Solution (Python):
a, b = map(int, input().split())
print(str(a//b) + ' ' + str(a%b) + ' ' + '{:.5f}'.format(a/b))

Solution (Python):
a, b = map(int, input().split(' '))
print('{} {} {:.5f}'.format(a//b, a%b, a/b))

Solution (Python):
a, b = [int(i) for i in input().split()]

d = a // b
r = a % b
f = a / b
print(f'{d} {r} {f:.5f}')

Solution (Python):
a,b=map(int,input().split())
c = int(a//b)
d = a%b
e = float(a/b)
print(f"{c} {d} {e:.5f}")

Solution (Python):
a,b = map(int, input().split())
c = a//b
d = a%b
e = a/b
print("{0} {1} {2:5f}".format(c, d, e))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = float(a)/float(b)
print('{} {} {:.8f}'.format(d, r, f))

Solution (Python):
a, b = map(int, input().split())
x = a //b
y = a%b
z = a/b
print("{0} {1} {2:.5f}".format(x, y, z))

Solution (Python):
a,b = map(int,input().split())
print(a//b, a%b, "{0:.20f}".format(a/b))

Solution (Python):
a,b = map(int, input().split())
d = a//b
r = int(a%b)
f = a/b
print(f"{d} {r} {f:.5f}")

Solution (Python):
a, b = map(int, input().split())
d = int(a / b)
r = a % b
f = a / b
print("%d %d %.6f" % (d, r, f))

Solution (Python):
a,b = map(int,input().split())
print('{} {} {:.5f}'.format(a//b,a%b,a/b))

Solution (Python):
x = input().split(" ")
a = int(x[0])
b = int(x[1])

print(str(a//b)+" "+str(a%b)+" "+str(round((a/b),6)))

Solution (Python):
def main():
    a, b = (int(i) for i in input().split())
    print("{} {} {:.9f}".format(a//b,a%b,a/b))

if __name__ == '__main__':
    main()

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

print(int(a/b), a%b, "{:.5f}".format(float(a/b)))

Solution (Python):
a, b = map(int, input().split())
print(int(a/b),a%b,'{:.5f}'.format(float(a/b)))

Solution (Python):

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

print("%d %d %.5f"%(a//b,a%b,a/b))

Solution (Python):
import sys

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

print(a//b,a%b,'{:.5f}'.format(a/b))

Solution (Python):
a,b=map(int,input().split())

print(int(a // b), int(a % b),"{:.5f}".format(a/b))

Solution (Python):
import math

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

ans1 = math.floor(a / b)
ans2 = a % b
ans3 = format(a / b,'.10f')

print(ans1,ans2,ans3)

Solution (Python):
a, b = map(int, input().split())
print(a // b, a % b, format(a / b, '.5f'))

Solution (Python):
a,b = map(int,input().split())
print(a//b, a%b, "{0:.5f}".format(a/b))

Solution (Python):
a, b = map(int, input().split())

d = int(a // b)
r = int(a % b)
f = float(a / b)

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

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = a / b

print(d, r, '{:.10f}'.format(f))

Solution (Python):
a,b = map(int,input().split())

print("%d %d %.10f"%(a//b,a%b,a/b))

Solution (Python):
a, b = list(map(int, input().split()))
print(a // b, end = " ")
print(a % b, end = " ")
print('{:.10f}'.format(a / b))

Solution (Python):
a, b = map(int,input().split())
print("%d %d %f" % (a//b, a%b, a/b))

Solution (Python):
a, b = map(int, input().split(" "))
print("%d %d %.10f"%(a/b, a%b, a/b))

Solution (Python):
nums = [int(e) for e in input().split()]
print(str(nums[0] // nums[1]) + " " + str(nums[0] % nums[1]) + " " + str("{:.9f}".format((nums[0] / nums[1]))))

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

Solution (Python):
a, b = map(int, input().split())
print('%d %d %f' % (a / b, a % b, a / b))

Solution (Python):
a,b=map(int,input().split())
print(a//b,a%b,"{:.5f}".format(a/b))

Solution (Python):
a,b = map(int,input().split())
print(a//b,a%b,"{: .10f}".format(a/b))

Solution (Python):

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

print("{} {} {:.8f}".format(int(a/b), a%b, a/b))

Solution (Python):
a,b=map(int,input().split())
print(a//b,a%b,f"{a/b:.10f}")

Solution (Python):
a,b=map(int,input().split())
print("%d %d %.10f" % (a//b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = a / b

print(f'{d:d} {r:d} {f:.10f}')

Solution (Python):
a, b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print(f'{d} {r} {f:.6f}')

Solution (Python):
a,b=map(int,input().split(" "))
d=a//b
r=a%b
f=a/b
print(f"{d} {r} {f:.5f}")

Solution (Python):


a,b = map(int, input().split(' '))
ans1 = int(a/b)
ans2 = a % b
ans3 = a/b

print(ans1, ans2,'%.10f' % ans3)

Solution (Python):
a, b = map(int, input().split())

d = a // b
r = a % b
f = a /b

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

Solution (Python):
nums = input()

a, b = map(int, nums.split())

d = a // b
r = a % b
f = a / b

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

Solution (Python):
l = input().split()
a = float(l[0])
b = float(l[1])

d = int(a)//int(b)
r = int(a)%int(b)
f = a/b
print(d,r,f"{f:.5f}")

Solution (Python):
a,b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print(f"{d} {r} {f:.5f}")

Solution (Python):
a,b=map(int,input().split())
print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
a, b = map(int, input().split())
d = a//b
r = a%b
f = a/b
print('{} {} {:.5f}'.format(d, r, f))

Solution (Python):
a, b = [int(i) for i in input().split()]
print(*divmod(a, b), format(a / b, ".5f"))

Solution (Python):
a, b = map(int, input().split())
print(a // b, a % b, end=' ')
print('{:.10f}'.format(a / b))

Solution (Python):
a,b=map(int,input().split())
d=a//b; r=a%b; f=a/b
print(d, r,"{:.10f}".format(f))

Solution (Python):
a, b = map(int, input().split())

d = a / b
r = a % b
f = a / b

print("%d %d %f" % (d, r, f))

Solution (Python):
a, b = map(int, input().split())
c = round(a/b,8)
print("{} {} {:.8f}".format(a//b,a%b,c))

Solution (Python):
'''a,b = map(int,input().split())
d = a // b
r = a % b
f = a / b
print('{:.d} {:.d} {:.10f}',(d,r,f))'''
a,b = map(int,input().split())

print("%d %d %.10f"%(a/b,a%b,a/b))

Solution (Python):
a, b = (int(x) for x in input().split())
d = a // b
r = a % b
f =float(a/b)
print(str(d) + ' ' + str(r) +' ' + str('{:.10f}'.format(f)))

Solution (Python):
a, b = map(int, input().split())
d = a // b
r = a % b
f = a / b
print(str(d) + ' ' + str(r) + ' ' + str('{:.5f}'.format(f)))

Solution (Python):
a, b = map(int, input().split(' '))

print(a // b, end=' ')
print(a % b, end = ' ')
print('%.5f' % (a / b))

Solution (Python):
a,b = (int(x) for x in input().split())
print(int(a/b),a%b,format(a/b, '.5f'))

Solution (Python):
a, b = map(int, input().strip().split())

d = a // b

r = a % b

f = a / b

print(d, r, '{0:.8f}'.format(f))

Solution (Python):
a, b = map(int, input().split())
print(str(a//b) + " " + str(a%b) + " " + str(round(float(a)/float(b), 5)))

Solution (Python):


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

Solution (Python):
a,b = map(int, input().split())
print('%d %d %f'%(a//b, a%b, a/b))

Solution (Python):
a,b=map(int,input().split())
print("%d %d %f" % (a//b,a%b,a/b))

Solution (Python):
a,b = map(int, input().split())

print("%d %d %f" % (a//b,a%b,a/b))

Solution (Python):
def test():

	i = list(map(int,input().split()))
	d = i[0] // i[1]
	r = i[0] % i[1]
	f = i[0] / i[1]

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

if __name__ == "__main__":
	test()

Solution (Python):
s = input().split()
a = int(s[0])
b = int(s[1])

d = int(a/b)
r = a%b
fcalc = float(a/b)
text = f"{fcalc:.5f}"

print(d,r,text)

Solution (Python):
a, b = map(int, input().split())
print("%d %d %.5f" % (a / b, a % b, a / b))

Solution (Python):
a, b = map(int, input().split())

print('%d %s %.10f' % (a//b, a%b, a/b))

Solution (Python):
a,b=map(int,input().split())
i=a//b
m=a%b
f=a/b
print(i,m,'{:.5f}'.format(f))

Solution (Python):
n=raw_input().split()
a=int(n[0])
b=int(n[1])
print "%d %d %.8f"%(a/b,a%b,float(a)/b)

Solution (Python):
a, b = map(int, input().split())
print(int(a/b), int(a%b), "{0:.5f}".format(float(a/b)))