ACM at Bucknell University
Programming Contest

Home → Practice Problem

See General Info for help naming your file and compiling a language. See Contest Environment Overview for help submitting a solution.

Practice

Write a program that reads in integers and adds 5 to each and prints the result.

Input Specification

Read in one integer per line. The input is terminated with a 0.

Output Specification

For each integer, print that integer plus 5. Each answer should appear on a seperate line. Do not output anything for the 0.

Sample Input

2
3
4
5
0

Output for Sample Input

7
8
9
10