#Read two integers and print two lines. The first line should contain integer division,  // . The second line should contain float division,  / .
# You don't need to perform any rounding or formatting operations.

a = int(input())
b = int(input())
d = a / b
c = a / b
print(int(d))
print(float(c))