Problem E: 箭头衔接数字

Problem E: 箭头衔接数字

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 444  Solved: 310
[Status] [Submit] [Creator:]

Description

输出 1 到 n,以 -> 衔接。  减号和大于号

Input

一个整数 n(1 ≤ n ≤ 1000)。

Output

一行,输出 1 到 n,以 -> 衔接。

Sample Input Copy

5

Sample Output Copy

1->2->3->4->5