Problem3399--等差数列 - 2

3399: 等差数列 - 2

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

(1):2+5+8+...+23+26+29+n;

(2):(2+4+6+...+a)- (1+3+5+...+b);

Input

输入3个整数

Output

输出2个等差数列的结果,换行输出。

Sample Input Copy

29
100 99

Sample Output Copy

155
50

Source/Category