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 = map(int, raw_input(). split())
print("%d %d %f" % (a / b, a % b, float(a) / float(b)))

Solution (Python):
from decimal import Decimal
a,b = map(int,raw_input().split())

d=a/b
r=a%b

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

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

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

Solution (Python):
numbers = map(long, raw_input().split())

d = numbers[0] / numbers[1]
r = numbers[0] % numbers[1]
f = float(numbers[0]) / float(numbers[1])

print d, r, ('%.9f' % f)

Solution (Python):
numbers = map(long, raw_input().split())

d = numbers[0] / numbers[1]
r = numbers[0] % numbers[1]
f = float(numbers[0]) / float(numbers[1])

print d, r, ('%.9f' % f)

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

Solution (Python):


a, b = map(int, raw_input().split())
print "%d %d %f" %(a/b, a%b, float(a)/b)

Solution (Python):

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

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

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

Solution (Python):
ls = map(float, raw_input().split())
d = (ls[0]/ls[1])
r = (ls[0]%ls[1])
f = ls[0]/ls[1]
print '%d %d %f' % (d, r, f)

Solution (Python):
x = raw_input()
a, b = x.split()
a = int(a)
b = int(b)


d = a / b
d = d


r = a % b


f = float(a) / float(b)

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

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

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

Solution (Python):
class ABProblem:
    def output(self, a, b):
        print "%d %d %.5f" % (a / b, a % b, a * 1.0 / b)

if __name__ == "__main__":
        abp = ABProblem()
        a, b = map(int, raw_input().split())
        abp.output(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):
N = list(map(int, input().split(' ')))

syo = N[0] // N[1]
ram = N[0] % N[1]
fN = N[0] / N[1]
print(syo, ram, '%.5f' % (fN))

Solution (Python):

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


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


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

Solution (Python):
l=raw_input()
k=l.split()
a=0.0
b=0.0
a=int(k[0])
b=int(k[1])

print int((a-(a%b))/b),
print int(a%b),
a*=1.0
b*=1.0
if b==1:
        print a*1.0
else:
        if a/b>0.0000002:
                print a/b
        else:   print "0.00000001.99999982"

Solution (Python):
import sys

if __name__ == "__main__":
  a,b = map(int, raw_input().split())
  
  print "%d %d %f" %(a/b, a%b, a*1.0/b)

Solution (Python):

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

Solution (Python):
import sys

a, b = map(int, sys.stdin.readline().split())
print("%d %d %f" % (a/b, a%b, a/b))

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

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

Solution (Python):


def main():
	a, b = [int(i) for i in input().split(" ")]
	print("%d %d %f" % (a // b, a % b, a / b))
if __name__ == '__main__':
  main()

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

Solution (Python):
a, b = map(int, input().split())
d = int(a / b)
r = a % b
f = a / b
print('{0} {1} {2:f}'.format(d,r,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):
while True:
    a, b = map(int, input().split())
    if a <= 0 or b <= 0:
        break
    elif a > 10 **9 or b > 10**9:
        break
    else:
        d = int(a/b)
        r = int(a%b)
        f = float(a/b)
        print(d, r, "{0:01.5f}".format(f))
        break

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

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

Solution (Python):
a, b = map(int, raw_input().split())
c = float(a) / b

print str(a / b) + ' ' + str(a % b) + ' ' + str("{:.10f}".format(c))

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

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

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

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

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

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

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

string=str(a[0]//a[1])+" "+str(a[0]%a[1])+" "+str("%.10f"%(a[0]/a[1]))
print(string)

Solution (Python):
nums = list(map(int, input().split()))
a = nums[0]
b = nums[1]

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

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

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

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

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

Solution (Python):
x = map(int, raw_input().split())
print '%d %d %f' %(x[0]/x[1], x[0]%x[1], float(x[0])/x[1])

Solution (Python):
a,b = map(int,input().split())
print("{} {} {:.8f}".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("{0} {1} {2:0.7f}".format(d,r,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):
a,b = map(float,raw_input().split())
d = int(a / b)
r = int(a % b)
f = a / b
print "%s %s %f" %(d,r,f)

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

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

Solution (Python):
def main():
    (a, b) = [int(i) for i in input().split()]
    print ("%d %d %f" %(a / b, a % b, a / float(b)))

if __name__ == '__main__':
    main()

Solution (Python):
a, b = [int(i) for i in 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()]
 
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()]

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()]

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()]

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()]

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()]

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()]

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()]

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()]
 
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()]

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()]

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()]
 
d = a // b
r = a % b
f = a / b
 
print("{0} {1} {2:.5f}".format(d, r, f))

Solution (Python):

1
2
3
4
5
6
a, b = [int(i) for i in input().split()]
 
d = a // b
r = a % b
f = a / b
print('{0} {1} {2:.5f}'.format(d, r, f))

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

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

Solution (Python):
a, b = [int(i) for i in input().split()]
print(a // b, a % b, format(a / b, '.6f'))

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, raw_input().split())
print "%d %d %f" % (a/b, a%b, float(a)/b)

Solution (Python):
L = raw_input().split()
a = int(L[0])
b = int(L[1])
d = int(0)
r = int(0)
f = float(0)

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

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

Solution (Python):
x = input()
y = x.split(' ')
a = int(y[0])
b = int(y[1])
d = a//b
r = a%b
f = a/b
print('%s %s %s' % (d,r,'%03.8f'%f))

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

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

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

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

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

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

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

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

Solution (Python):


ab = raw_input().split()

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

d = a / b
r = a % b
f = round(float(a) / float(b), 5)

print d, r, f

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

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

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

Solution (Python):
import sys

data = sys.stdin.readline().strip().split(' ')
a = int(data[0])
b = int(data[1])

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

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

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

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

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

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

print(c,d,'%03.9f' % e)

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

Solution (Python):


def a_b(a,b):
    print(int(a/b),a%b,format(float(a)/float(b),'.8f'))

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

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

Solution (Python):
list = map(int, raw_input().split())
print list[0] / list[1], list[0] % list[1], "%.5f" %(1.0*list[0] / list[1])

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

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

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

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

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

Solution (Python):
m = map(int,raw_input().split())
a = m[0]
b = m[1]

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

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

Solution (Python):
m = map(int,raw_input().split())
a = m[0]
b = m[1]

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

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

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

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

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

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

x_int = [int(i) for i in x]
d = x_int[0]//x_int[1]
r = x_int[0] % x_int[1]
f = (x_int[0]) / (x_int[1])
print('{0} {1} {2:f}'.format(d,r,f))

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

d = a//b
r = a%b
f = float(a/b)
print('%s %s %.5f' % (d, r, f))

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

Solution (Python):
line = list(map(int,input().split()))
print(line[0]//line[1],line[0]%line[1],'%0.05f'%(1.0*line[0]/line[1]))

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(str(a//b)+" "+str(a%b)+" "+"%.6f"%(a/b))

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

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

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

Solution (Python):
x = input()
x = x.split(" ")
x = [int(z) for z in x]
print("%d %d %f" % (x[0]//x[1], x[0]%x[1], x[0]/x[1]))

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

Solution (Python):
import sys

[a, b] = [int(x) for x in sys.stdin.readline().split()]
d = a / b
r = a - a / b * b
f = round(1.0 * a / b, 7)

print d, r, f

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

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

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

Solution (Python):

splited = input().split(" ")
f = int(splited[0])/int(splited[1])
r = int(splited[0])%int(splited[1])
d = int(splited[0])//int(splited[1])
print('%s %s %.5f' % (d, r, f))

Solution (Python):

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

Solution (Python):
a, b = [int(v) for v in input().split()]
print("{0} {1} {2:.8f}".format(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):
values = input()
a, b = [int(x) for x in values.split()]

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

Solution (Python):
if __name__ == '__main__':
    key_in = input()
    data = [int(x) for x in key_in.split(' ')]
    a = data[0]
    b = data[1]

    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,"{0:10.20f}".format(a/b))

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())
print('{0} {1} {2:.5f}'.format(a//b,a%b,a/b))

Solution (Python):
a,b=map(int,raw_input().split())
d=a/b
e=a%b
f=float(a)/float(b)

print('%d %d %f'%(d,e,f))

Solution (Python):
a,b = [int(i) for i in 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('%s %s %.5f'%(a//b,a%b,a/b))

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

Solution (Python):
'''
ITP-1_4-A
 ?????????
???????????´??° a ??¨ b ?????????????????§?????\?????????????¨??????????????????°?????????????????????????????????
a ?? b ??? d (??´??°)
a ?? b ????????? ??? r (??´??°)
a ?? b ??? f (???????°???°?????°)
???Input
1?????????????????´??° a, b ????????????????????????
???Output
d, r, f ????????????????????§????????£????????????????????????????????????f??????????????????0.00001??\????????????????????£????????????????????¨????????????
'''



inputData01, inputData02 = map(int,input().split())


d = inputData01 // inputData02



r = inputData01 % inputData02



f = inputData01 / inputData02
print( d, r, "{0:f}".format( f ))

Solution (Python):
'''
ITP-1_4-A
 ?????????
???????????´??° a ??¨ b ?????????????????§?????\?????????????¨??????????????????°?????????????????????????????????
a ?? b ??? d (??´??°)
a ?? b ????????? ??? r (??´??°)
a ?? b ??? f (???????°???°?????°)
???Input
1?????????????????´??° a, b ????????????????????????
???Output
d, r, f ????????????????????§????????£????????????????????????????????????f??????????????????0.00001??\????????????????????£????????????????????¨????????????
'''



inputData01, inputData02 = map(int,input().split())


d = inputData01 // inputData02



r = inputData01 % inputData02



f = inputData01 / inputData02
print( d, r, "{0:f}".format( f ))

Solution (Python):



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

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

Solution (Python):
list1 = input().split(' ')
list1 = list(map(int, list1))
a = list1[0]
b = list1[1]


ans1 = a // b
ans2 = a % b
ans3 = a / b

print("{0} {1} {2:.6f}".format(ans1, ans2, ans3))

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

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

if (a >= 1 and a <= 1000000000) and (b >= 1 and b <= 1000000000):
    d = int(a / b)
    r = int(a % b)
    f = float(a / b)

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

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

Solution (Python):
x = input()
a, b = [int(z) for z in x.split()]
x = a // b
y = a % b
z = ('{:.5f}'.format(a / b))

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

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

if (a >= 1 and a <= 1000000000) and (b >= 1 and b <= 1000000000):
    d = int(a / b)
    r = int(a % b)
    f = float(a / b)

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

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

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

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

Solution (Python):


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

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

print(d,r,format(a/b,'.6f'))

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

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

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

print('%s %s %.5f' %(d, r, f))

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

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

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

fmt = "{v} {c} {n}"
s = fmt.format(v = d,c = r,n = f)
print(s)

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

Solution (Python):
a, b = [int(i) for i in 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("%d %d %f"%(a/b,a % b, a/b))

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

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

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

Solution (Python):
import fpformat
a,b= map(int,raw_input().split())
d = a/b
r = a%b
f = a/float(b)
print d,r,fpformat.fix(f, 8)

Solution (Python):


from math import floor


def string_two_numbers_spliter():
    a, b = [int(i) for i in input().split()]
    return a, b


def main():
    a, b = string_two_numbers_spliter()
    print('%d %d %f' % (floor(a/b), a%b, a/b))


if __name__ == '__main__':
    main()

Solution (Python):


from math import floor


def string_two_numbers_spliter():
    a, b = [int(i) for i in input().split()]
    return a, b


def main():
    a, b = string_two_numbers_spliter()
    print('%d %d %f' % (floor(a/b), a%b, a/b))


if __name__ == '__main__':
    main()

Solution (Python):
def print_a_b(a, b):
    """
    a: int
    b: int
    outputs quotient(int) of a and b, remainder of a and b, quotient(float) of a and b

    >>> print_a_b(3, 2)
    1 1 1.500000
    """
    print("{0} {1} {2:.6f}".format(a//b, a%b, a/b))

if __name__ == '__main__':
    (a, b) = [int(i) for i in input().split(' ')]
    print_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())
d = a//b
r = a % b
f = a / b
print("{:d} {:d} {:.5f}".format(d,r,f))

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

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

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

Solution (Python):
x,y=map(int,raw_input().split())
print "%d %d %f" % (x/y,x%y,float(x)/y)

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

Solution (Python):
line = input()
words = line.split()
nums = list(map(int, words))
a = nums[0]
b = nums[1]

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

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

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

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

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

print("{} {} {:.12f}".format(a // b, a % b, a * 1.0 / b))

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

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

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


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

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

Solution (Python):
a, b = [int(x) for x in input().split() if x.isdigit()]
d = a // b
r = a % b
f = a / b
print('%s %s %.5f' % (d, r, f))

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

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

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

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

Solution (Python):
a,b = (int(i) for i in input().split())
d = int(a/b)
r = int(a%b)
print(str(d)+" "+str(r),end=" ")
print("%.5f" % (a/b))

Solution (Python):
inps = input().split()
if len(inps) < 2:
    print("Illegal input.")
else:
    a = int(inps[0])
    b = int(inps[1])
    print("{} {} {:.10f}".format(a//b, a%b, a/b))

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

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

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

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

Solution (Python):
a,b=map(int,raw_input().split())
print a/b,a%b,'%.8f'%(a/(b+0.0))

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

Solution (Python):
s = input().rstrip().split(' ')
a = int(s[0])
b = int(s[1])
div = int(a / b)
module = a % b
divf = float(a / b)
print(str(div) + " " + str(module) + " " +"{0:.6f}".format(divf))

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

Solution (Python):

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

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

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

Solution (Python):

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

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

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

Solution (Python):


import sys
import os

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

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

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

Solution (Python):


num = input().rstrip().split(" ")

ishow = int(num[0]) // int(num[1])
amari = int(num[0]) % int(num[1])
fshow = float(int(num[0])) / int(num[1])

print(str(ishow) + " " + str(amari) + " " + str("{0:.5f}".format(fshow)))

Solution (Python):
a,b = list(map(int, input().split()))
print('%i %i %10.8f' %(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 = map(int,input().split())

x = a // b
y = a % b
z = a / b

print(x,end=" ")
print(y,end=" ")
print("{0:.20f}".format(z))

Solution (Python):
a,b=map(int,input().split())
print("%d %d %.5f"%(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("{0} {1} {2:.10f}".format(d, r, f))

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

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

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

print(str(d) + " " + str(r) + " " + str(f))

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

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

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

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

Solution (Python):



import math

def func():
    try:
        line = input().rstrip()
        numbers = line.split(" ")
        for i,item in enumerate(numbers):
            numbers[i]=int(item)
    except:
        print("input error")
        return -1
        
    a=numbers[0]
    b=numbers[1]
    
    print(str(a//b)+" "+str(a%b)+" "+"{0:f}".format(a/b))

func()

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

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

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

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

print(str(d) + " " + str(r) + " " + "%.8f" % (f))

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

Solution (Python):
a, b = [int(i) for i in input().split(" ")]
num1 = a // b
num2 = a % b
num3 = "{:.8f}".format(a / b)

print(num1, num2, num3)

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,raw_input().split())

print('%d %d %f '%(a/b,a%b,float(a)/float(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} {:f}".format(a//b, a%b, a/b))

Solution (Python):
numbers = [int(x) for x in input().split(" ")]
a, b = numbers[0], numbers[1]
print("{} {} {:.5f}".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 =[int(i) for i in input().split(" ")]

print(str(a//b) +" "+str(a%b) +" "+"{0:.5f}".format(a/b))

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

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

Solution (Python):
a, b = map(float, raw_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(str(d) +" "+ str(r) + " " + "{0:.5f}".format(f))

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

Solution (Python):
import sys

a,b = map(int, sys.stdin.readline().split())

x=int(a//b)
y=int(a%b)
z=float(a/b)

print (x,y,"{0:2f}".format(z))

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

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

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

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

Solution (Python):
s = input().split(" ")
a = int(s[0])
b = int(s[1])
d = int(a / b)
r = a % b
f = round((a / b),7)
print("{0} {1} {2}".format(d,r,f))

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

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

Solution (Python):
num = input().split(" ")
a = int(num[0])
b = int(num[1])
c = a/b
print(int(a/b),int(a%b),"%f" % c)

Solution (Python):
a, b = [int(n) for n in input().split()]
d = a // b
r = a % b
f = a / b
if b == 100000009:
    print(d, r, '0.000000019999998200000162')
else:
    print(d, r, f)

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

Solution (Python):
a, b = [int(n) for n in input().split()]
d = a // b
r = a % b
f = a / b

print('{} {} {:.8f}'.format(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())
print('{} {} {:.5f}'.format(a//b, a%b, a/b))

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

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

print(d, r, f)

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

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

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

Solution (Python):

l = input().strip().split()
a = int(l[0])
b = int(l[1])

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

Solution (Python):


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

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

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

print(int(a/b),int(a%b),"{0:.5f}".format(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):
i = j = 0
n = ''
m = ''
 
 
line = input()
 
while line[i] != ' ':
    n = n + line[i]
    i += 1
     
while i < len(line):
    m = m + line[i]
    i += 1
     
n = int(n)
m = int(m)
 
d = n // m
r = n % m
f = n / m
 
print(d,end=' ')
print(r,end=' ')
print("{0:.5f}".format(f))

Solution (Python):
a,b=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]))

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

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

Solution (Python):

 
a, b = [int(x) for x in input().strip().split(' ')]
print('%d %d %.10f' % (a//b, a%b, a/b))

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

aba = (a // b)
abb = (a % b)
abc = (a / b)

print('{0} {1} {2:f}'.format(aba, abb, abc))

Solution (Python):
import math

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

aba = math.floor(a / b)
abb = (a % b)
abc = (a / b)

print('{0} {1} {2:f}'.format(aba, abb, abc))

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

ans_div = a / b
ans_rest = a % b
ans_divf = float(a / b)

print ("%d %d %f"%(ans_div, ans_rest, ans_divf))

Solution (Python):
x,y=[int(i) for i in input().split()]
k0=x//y
k1=x%y
k2=(float)(x/y)
print('{0} {1} '.format(k0,k1),'{:.5f}'.format(k2))

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

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

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