"""
Task:
Read two integers and print two lines. The first line should contain integer division, a // b.
The second line should contain float division, a / b.

You don't need to perform any rounding or formatting operations.

Input Format:
The first line contains the first integer, a.
The second line contains the second integer, b.

Output Format:
Print the two lines as described above.

"""
from __future__ import division

if __name__ == '__main__':
    a = int(raw_input())
    b = int(raw_input())

    print a // b
    print a / b
