# Solution for HackerRank python division problem  

__autor__ = 'Saimadhu Polamuri'
__website__ = 'www.dataaspirant.com'
__createdon__ = '28-Jun-2015'

from __future__ import division
number1 = int(raw_input())
number2 = int(raw_input())

print number1 // number2
print number1 / number2