a = int(input()) b = int(input()) if b == 0: print("Error: Division by zero") else: print(a // b) print(a / b)