# Enter your code here. Read input from STDIN. Print output to STDOUT from __future__ import division a = int(raw_input()) b = int(raw_input()) print a//b print a/b