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

Submission status: Accepted

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

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:
import sys

def solve():
    a,b = map(int,input().split())
    print(int(a//b), a%b, "%f" % (a/b))
    
solve()

Submission status: Accepted

Solution code:
a,b=map(int,input().split(" "))
d=int(a/b)
r=a%b
f=float(a/b)
F=round(f,6)
print(str(d)+" "+str(r)+" "+str(F))

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x, y = map(int, input().split())

print(x//y, x%y, "{0:10.20f}".format(x/y))

Submission status: Accepted

Solution code:
from sys import stdin

a, b = [int(x) for x in stdin.readline().rstrip().split()]
print("%d %d %lf" % (a/b, 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())

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

Submission status: Accepted

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

Submission status: Accepted

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

print(d,r,f)

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

a,b = map(int, input().split())
a1,b2 = float(a),float(b)
print(f"{a//b} {a%b} {a1/b2:.9f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
string = input()
numbers = string.split()
a, b = int(numbers[0]), int(numbers[1])
d = a//b
r = a%b
f = a/b
print(d, r, "{:.12f}".format(f))

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
import math

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

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

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

Submission status: Accepted

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

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(int, input().split())
print(f"{a//b} {a%b} {a/b:.5f}")

Submission status: Accepted

Solution code:
a,b = map(int,input().split())
x = int(a // b)
y = int(a - b*x)
z = a / b


print(x,y,f"{z:.5f}")

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from decimal import Decimal, ROUND_DOWN

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

nums = [int(e) for e in input().split()]
a = int(nums[0]/nums[1])
b = int(nums[0]%nums[1])
c = "{:.5f}".format(nums[0]/nums[1])
print(a,b,c)

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print('{} {} {:f}'.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 = round(a / b, 6)
print("{} {} {:f}".format(d, r, f))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

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:

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

Submission status: Accepted

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

d = a/b
r = a%b

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

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:
from sys import stdin

a, b = (int(n) for n in stdin.readline().rstrip().split())

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

print("{} {} {:.6f}".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:.5f}".format(d,r,f))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

print("%d %d %f" %(num[0]/num[1],num[0]%num[1],num[0]/num[1] ))

Submission status: Accepted

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

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=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, input().split())
print(f'{a//b} {a%b} {(a/b):.6f}')

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(f'{a//b} {a%b} {(a/b):.6f}')

Submission status: Accepted

Solution code:
def az8():
    xs = map(int,raw_input().split())
    a,b = xs[0],xs[1]
    print (a/b),(a%b), "%5f"%(float(a)/b)
az8()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a, b = map(int, raw_input().split())
print("%d %d %f" %(int(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'%(1.*a/b)

Submission status: Accepted

Solution code:
a = list(map(lambda x: int(x), input().split(" ")))
print("%d %d %f" % (a[0]//a[1], a[0]%a[1], a[0]/a[1]))

Submission status: Accepted

Solution code:
m,n=map(long,raw_input().split())
print m/n,
print m%n,
print '%.5f' % (float(m)/n)

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

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

Submission status: Accepted

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
a,b = map(int,raw_input().split())
print '%d %d %.5f' % (a/b,a%b,float(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, r,"{:f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

di = a // b
m = a % b
df = a / b

print('{0} {1} {2:.8f}'.format(di, m, df))

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:.8f}'.format(d,r,f))

Submission status: Accepted

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

di = a // b
m = a % b
df = a / b

print('{0} {1} {2:.6f}'.format(di, m, df))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

print('{0} {1} {2:.6f}'.format(x,y,z))

Submission status: Accepted

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

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

print('{0} {1} {2:.6f}'.format(x, y, z));

Submission status: Accepted

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

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

print('{0} {1} {2:.6f}'.format(x,y,z))

Submission status: Accepted

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

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

print('{0} {1} {2:.6f}'.format(x,y,z))

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 03 11:58:46 2015

@author: hirose
"""

n = map(int, raw_input().split())

a = n[0]
b = n[1]

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys
(a, b) = [int(i) for i in sys.stdin.readline().split()]
d = int(a / b)
r = a % b
f = a / b
print("%d %d %.5f" % (d, r, f))

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print("{} {} {:0.5f}".format(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 %f" % (d, r, f)

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    a, b = [int(i) for i in input().split()]
    d, r, f = a//b, a%b, a/b
    print("{0} {1} {2:.6f}".format(d, r, f))

Submission status: Accepted

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-

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

Submission status: Accepted

Solution code:
#coding:utf-8
#1_4_A 2015.3.24
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 %.5f" % (a/b,a%b,float(a)/b)

Submission status: Accepted

Solution code:
[a,b]=raw_input().split()
x=long(a)
y=long(b)
z=float(a)
w=float(b)
d=x/y
r=x%y
f=z/y
print"%d %d %.5f" % (d,r,f)

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:
import sys

a, b = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
print( "{:d} {:d} {:7f}".format( int( a/b ), a%b, a/b ) )

Submission status: Accepted

Solution code:
import sys

a, b = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
print( "{:d} {:d} {:7f}".format( a//b, a%b, a/b ) )

Submission status: Accepted

Solution code:
import sys

a, b = [ int( val ) for val in sys.stdin.readline().split( ' ' ) ]
print( "{:d} {:d} {:7f}".format( a//b, a%b,  float(a)/float(b) ) )

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding:UTF-8

a,b = map(int,raw_input().split())
d = a/b
r = a%b
f = float(a)/b
f = '%.8f' % (float(a)/b)

print d,r,f

Submission status: Accepted

Solution code:
#coding:UTF-8

a,b = map(int,raw_input().split())
d = a/b
r = a%b
f = float(a)/b
f = '%.8f' % (f)

print d,r,f

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding=utf-8

a, b = map(int, raw_input().split())
print "{0:d} {1:d} {2:f}".format(a / b, a % b, 1.0 * a / b)

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    v = map( int, raw_input().split())
    a = v[0]
    b = v[1]

    d = a / b
    r = a - ( d * b )
    s = (0.0 + a) / b
    print "{0:d} {1:d} {2:.5f}".format( d, r, s)

Submission status: Accepted

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

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

print d,r,f

Submission status: Accepted

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

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

print d,r,f

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
a, b = map(int, input().split())
print('%d %d %.9f' % (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('%s %s %.5f' % (d, r, f))

Submission status: Accepted

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

Submission status: Accepted

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

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


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import warnings
import urllib2

data = map(int, raw_input().split())

a = data[0]
b = data[1] 


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

print "%s %s %.30f" % (d, r, f)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

val = map(int, raw_input().split())

ans1 = val[0] / val[1]
ans2 = val[0] % val[1]
ans3 = format(val[0] / float(val[1]), '.5f')

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

Submission status: Accepted

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

while True:
  d = a // b
  r = a % b
  f = a / b

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
(a, b) = [int(i) for i in input().split()] 
  
while True:
  d = a // b
  r = a % b
  f = a / b
  
  print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
  break

Submission status: Accepted

Solution code:
(a, b) = [int(i) for i in input().split()]
  
while True:
    d = a // b
    r = a % b
    f = a / b
    print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
    break

Submission status: Accepted

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

Submission status: Accepted

Solution code:
( a, b) = [ int(i) for i in input().split()] 
 
while True:
  d = a // b
  r = a % b
  f = a / b
 
  print( '{0:d} {1:d} {2:.5f}'.format( d, r, f))
  break

Submission status: Accepted

Solution code:
a,b=map(int, raw_input().split())
print a/b, a%b, "%.6f"%(float(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('%s %s %.5f' % (d, r, f))

Submission status: Accepted

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

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:
i = list(map(int, input().split()))

a = i[0]
b = i[1]

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

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} {1} {2:.5f}".format(d, r, f))

Submission status: Accepted

Solution code:
l = map(int, raw_input().split())
a = l[0]
b = l[1]
d = a / b
r = a % b
f = float(a) / b
print d, r, round(f, 6)

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} {1} {2:.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)/b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
x = raw_input().split()
a1 = int(x[0])
b1 = int(x[1])
a2 = float(x[0])
b2 = float(x[1])

p1 = a1 / b1
r = a1 % b1
p2 = a2 / b2

print u"%d %d %f" % (p1, r, p2)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
# encoding:utf-8

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

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

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

Submission status: Accepted

Solution code:
# encoding:utf-8

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

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

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

Submission status: Accepted

Solution code:
a,b=map(int, raw_input().split())
d=a/b
e=a%b
print "{0} {1} {2:0.8f}".format(int(d), int(e), float(a)/float(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(float, raw_input().split(" "))
print("%d" % (a/b))
print("%d" % (a%b))
print("%f" % (a/b))

Submission status: Accepted

Solution code:
input_line = raw_input().split()
a = int(input_line[0])
b = int(input_line[1])
print a/b,
print a%b,
print ('%.5f' % (float(a)/float(b)))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import sys

a,b = map(int,sys.stdin.readline().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\n'%(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
import sys

inlist = list(map(int, sys.stdin.readline().split(" ")))

a = inlist[0]
b = inlist[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()))
d = int(a / b)
r = a % b
f = a / b
print(str(d) + " "+ str(r) + " "+ "{0:.20f}".format(f))

Submission status: Accepted

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

Submission status: Accepted

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

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

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

print(d,r,format(f, '.10f'))

Submission status: Accepted

Solution code:
a,b = list(map(int, input().split()))
c = int(a / b)
d = a % b
e = a / b

print(str(c) + " " + str(d) + " "+"{0:.8f}".format(e))

Submission status: Accepted

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

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

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

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 %.8f" %(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 %f' %(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)/b)

Submission status: Accepted

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

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

Submission status: Accepted

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

print(int(a/b),int(a%b),"%.8f"%(a/b))

Submission status: Accepted

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

x = a/b
y = a%b
z = float(a)/float(b)
z = round(z,8)

print '%d %d %.8f' %(x,y,z)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

k=map(int,raw_input().split())

d=k[0]/k[1]
r=k[0]%k[1]
f=k[0]*1.0/k[1]

print d,r,"%.9f"%f

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

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

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

print '%d %d %.9f'%(a/b,a%b,float(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), str("%.8f" % f))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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

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

Submission status: Accepted

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

a = Num[0]
b = Num[1]

print a/b,
print a%b,

Num = map(float, Num)
a = Num[0]
b = Num[1]

print "%f" %(a/b)

Submission status: Accepted

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

Submission status: Accepted

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

if b > 10**6:
  f = 0.0
else:
  f = a/b

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


print d, r, f

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

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(int, input().split())
print(a // b, a % b, round(a / b, 6))

Submission status: Accepted

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

print "%d %d %lf" % (a/b, a%b, a/(1.0*b))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#coding: UTF-8

l = raw_input().split()

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



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

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

Submission status: Accepted

Solution code:
#coding: UTF-8

l = raw_input().split()

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



if 1 <= a and b <= 10**9:
	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())
print("%d %d %.5f"%(a//b,a%b,a/b))

Submission status: Accepted

Solution code:
a,b=map(int,input().split());print(a//b,a%b,'%.8f'%(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) / float(b)))