308 - Consecutive Numbers
Consecutive Numbers
Time Limit: 1 sec
The Problem
Make a simple program that reads one variable named N which is the summation of 3 consecutive numbers. Print the 3 consecutive numbers whose summation is N.
21 + 22 + 23 = 66
The Input
Input file contain a series of line, each line contain one integer number N (N<=30000). Input is terminated by EOF.
The Output
For each line of input, output will show the 3 consecutive integer numbers seperated by space in a separate line.
Sample Input
66
126
25401
Sample Output
21 22 23
41 42 43
8466 8467 8468
Problem Setter: Shahin ShamS