Answer: while True:
# Read the string integer pair from input
input_str = input().strip()
if input_str == "Done":
break
string, integer = input_str.split()
# Check if the integer is less than or equal to 45
if int(integer) <= 45:
# Output the string with the message
print(string + ": reorder soon")
Step-by-step explanation: