Problem2319--逆序输出ASCII码

2319: 逆序输出ASCII码

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

Description

输入n个字符(1≤n≤100),逆序输出他们的ASCII码值。

Input

第一行:一个整数n,代表字符的数量。
第二行:n个空格分割的字符。

Output

一行:输入的n个字符的ASCII码值,按照输入顺序逆序输出。

Sample Input Copy

3
a b c

Sample Output Copy

99 98 97

Source/Category