CEMC Banner

Problem of the Week
Problem C
Just a Little Output

Harlow has written a program. After she inputs a number into the program the number is multiplied by \(2\), then the product is divided by \(3\), then \(5\) is subtracted from the quotient. The final result is then printed.

For example, if Harlow inputs the number \(60\) into the program then following the steps outlined, the number \(60\) is first multiplied by \(2\) to obtain \(60 \times 2 = 120\). Then the product is divided by \(3\) to obtain \(120 \div 3 = 40\). Finally, \(5\) is subtracted from the quotient to obtain \(40-5=35\). The number \(35\) is then printed.

If Harlow inputs only positive integers into the program, determine the smallest possible positive output number that can be printed.

Themes: Algebra, Number Sense