# 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())
division_int = int(a / b)
division_float = float(a / b)
print(division_int)
print(division_float)