Problem:


A/B Problem

Write a program which reads two integers a and b, and calculates the following values:

  
a &divide; b:  d (in integer)

  
remainder of a &divide; b:  r (in integer)

  
a &divide; 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 ≤ 109

Sample Input 1

3 2

Sample Output 1

1 1 1.50000



Sample input:
3 2


Sample output:
1 1 1.50000

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Accepted

Solution code:
# encoding:utf-8
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))

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

#d
d = a / b
d = d

#r
r = a % b

#f
f = float(a) / float(b)

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
# input
a, b = map(int, raw_input().split())

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

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

Submission status: Accepted

Solution code:
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"

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-
a,b = map(int,input().split())
d = a//b
r = a%b
f = a/b
print(d,r,"{0:f}".format(f))

Submission status: Accepted

Solution code:
import sys

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
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()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#encoding:utf-8

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
#coding: UTF-8

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:utf-8
a,b=map(int,input().split())
print(str(a//b)+" "+str(a%b)+" "+"%.6f"%(a/b))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
(a,b)=(int(i) for i in input().split())
print('%s %s %.5f'%(a//b,a%b,a/b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
'''
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??\????????????????????£????????????????????¨????????????
'''
# import

# ?????°??????????????????
inputData01, inputData02 = map(int,input().split())

# ??????????????´??°???????±???????
d = inputData01 // inputData02
# print( d )

# ??????????????????????±???????
r = inputData01 % inputData02
# print( r )

# ??????????????´??°???????±???????
f = inputData01 / inputData02
print( d, r, "{0:f}".format( f ))

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your code !

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

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding:utf-8 -*-

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'))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
[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))

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

Solution code:
#!usr/bin/env python3

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

#print(str(d)+" "+str(r)+" "+str(f))
print("%d %d %.5f" % (d, r, f))

Submission status: Accepted

Solution code:
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]))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
a,b = map(int, input().split(" "))

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

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

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

Submission status: Accepted

Solution code:
# coding: utf-8

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

Submission status: Accepted

Solution code:
a,b = list(map(int, input().split()))
print('%i %i %10.8f' %(a//b, a%b, a/b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
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)))

Submission status: Accepted

Solution code:
# coding: utf-8
# Here your code !

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

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

print(num1, num2, num3)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*
a, b = map(int, input().split())
print('%d %d %.5f' % (a // b, a % b, a / b))

Submission status: Accepted

Solution code:
#coding:utf-8

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

print(str(d) +" "+ str(r) + " " + "{0:.5f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

print(d, r, f)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
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))