<gh_stars>0

'''
Title     : Python: Division
Subdomain : Introduction
Domain    : Python
Author    : <NAME>
Created   : 28 September 2016
'''

from __future__ import division
a = int(input())
b = int(input())

print (a // b)
print (a / b)