A - 3,2,1,GO
Editorial
/
/
Time Limit: 2 sec / Memory Limit: 1024 MiB
配点 : 100 点
問題文
正の整数 N が与えられます。
N,N-1,\dots,1 をこの順にカンマ , で区切って出力してください。
制約
- 1\leq N \leq 9
- N は整数
入力
入力は以下の形式で標準入力から与えられる。
N
出力
N,N-1,\dots,1 をこの順にカンマ区切りで出力せよ。
入力例 1
9
出力例 1
9,8,7,6,5,4,3,2,1
入力例 2
5
出力例 2
5,4,3,2,1
入力例 3
1
出力例 3
1
Score : 100 points
Problem Statement
You are given a positive integer N.
Output N, N-1, \dots, 1 in this order, separated by commas ,.
Constraints
- 1 \leq N \leq 9
- N is an integer.
Input
The input is given from Standard Input in the following format:
N
Output
Output N, N-1, \dots, 1 in this order, separated by commas.
Sample Input 1
9
Sample Output 1
9,8,7,6,5,4,3,2,1
Sample Input 2
5
Sample Output 2
5,4,3,2,1
Sample Input 3
1
Sample Output 3
1