a = int(input())
b = int(input())
x=a//b
print(x)
y=a/b
print(y)
