# Read the numbers like this:
num_students = int(input("Number of students: "))
num_apples = int(input("Number of apples: "))

# Print the result with print()
print(num_apples // num_students)
print(num_apples % num_students)
