# a = input()
# b = ord(a) #a의 아스키코드 구하기
# b=b+1
# print(chr(b)) #b에 해당하는 문자 구하기
# a,b=input().split(' ')
# a=int(a)
# b=int(b)
# c= a**b
# print(c)
# a,b=input().split(' ')
# a=float(a)
# b=float(b)
# c= a**b
# print(c)
# a,b=input().split(' ')
# a=int(a)
# b=int(b)
# print(a//b)
# a,b=input().split(' ')
# a=int(a)
# b=int(b)
# print(a%b)
# a=input()
# a=float(a)
# print(format(a,".2f"))
# a,b=input().split(' ')
# a=float(a)
# b=float(b)
# c=a/b
# print(format(c,".3f"))
#
# a,b=input().split(' ')
# a=int(a)
# b=int(b)
# print(a+b)
# print(a-b)
# print(a*b)
# print(a//b)
# print(a%b)
# a=float(a)
# b=float(b)
# print(format(a/b,".2f"))
# a,b,c=input().split()
# a=int(a)
# b=int(b)
# c=int(c)
# d=a+b+c
# a=float(a)
# b=float(b)
# c=float(c)
# e=a+b+c
# print(d,format(e/3,".2f"))
# a=input()
# a=int(a)
# print(a*2)
# a,b=input().split()
# a=int(a)
# b=int(b)
# c=2**b
# print(a*c)
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(a!=b)
# a = int(input())
# print(not bool(a))
# a,b=input().split()
# a=int(a)
# b=int(b)
# print(bool(not a and not b)or bool( a and b))
# a,b= input().split()
# a=int(a)
# b=int(b)
# print(bool(not(a or b)))
# a=int(input())
# print(~a)
# a,b=map(int,input().split())
# print(a&b)
# a,b=map(int,input().split())
# print(a|b)
# a,b=map(int,input().split())
# print(a^b)
# a,b=map(int,input().split())
# print(a if(a>b) else b)
# a,b,c=map(int,input().split())
# print((a if(a<b) else b)if((a if(a<b)else b)<c)else c)
# a,b,c=map(int,input().split())
# if a%2==0 :
# print("even")
# else :
# print("odd")
# if b%2==0 :
# print("even")
# else :
# print("odd")
# if c%2==0 :
# print("even")
# else :
# print("odd")
# a=int(input())
# if a<0 and a%2==0 :
# print("A")
# if a<0 and a%2==1 :
# print("B")
# if a>0 and a%2==0 :
# print("C")
# if a>0 and a%2==1 :
# print("D")
# n=int(input())
# if n>=90 :
# print('A')
# else :
# if n>=70 :
# print('B')
# else :
# if n>=40 :
# print('C')
# else :
# print('D')
# n=input()
# if n=='A' :
# print("best!!!")
# elif n=='B' :
# print("good!!")
# elif n=='C' :
# print("run!")
# elif n=='D' :
# print("slowly~")
# else :
# print("what?")
#
# # n =int(input())
# # if n//3==1 :
# # print("spring")
# # if n//3==2 :
# # print("summer")
# # if n//3==3 :
# # print("fall")
# # if n//3==4 or n//3==0 :
# # print("winter")
#
# while 조건식 :
# 명령문
# a = int(input())
# b = int(input())
#
# # for i in range(a) :
# # for i in range(a,b+1,2) :
# for i in range(b,a,-1) :
# for j in range(i) :
# print(j,end=' ')
# print()
# a=1
# while a!=0 :
# a=int(input())
# if a!=0 :
# print(a)
# a= int(input())
# while a!=0 :
# print(a-1)
# a= a-1
# a= ord(input())
# b=ord('a')
# while a>=b :
# print(chr(b),end=' ')
# b=b+1
# n=int(input())
# for i in range(n+1) :
# print(i)
# n=int(input())
# a=0
# for i in range(1,n+1) :
# if i%2==0 :
# a+=i
# print(a)
# n='a'
# while n!='q' :
# n=input()
# print(n)
# if n=='q' :
# break
# n=int(input())
# a=0
# for i in range(n) :
# a+=i
# if a>=n :
# print(i)
# break
# n,m= map(int,input().split())
#
# for i in range(1,n+1) :
# for j in range(1,m+1) :
# print(i,j)
''''
LIST(array)
- append
- sort
- extend
- pop
- insert
-
'''
#
# yuna = []
# print(yuna, type(yuna))
#
# yuna.append(10)
# yuna.append('hello')
# print(yuna)
#
# yuna.pop()
# print(yuna)
#
# yuna.append(20)
# yuna.append(30)
# yuna.append(40)
# yuna.append(50)
# print(yuna)
#
# yuna.pop(2)
# print(yuna)
#
# # yuna.pop(10)
# yuna.count(10)
# yuna.append([10, 230, 30])
# print(yuna)
#
# yuna.extend([10, 20, 30])
# print(yuna)
#
# len(yuna)
#
# doomok = [0] * 10
# print(doomok)
#
# doomok.append(100)
# print(doomok)
#
# # vata = list(map(int, input().split()))
#
# # str = list(input())
# # print(str)
#
# # 2차원 배열 만들기
# x = []
# for i in range(5):
# v = [0] * 5
# x.append(v)
# # 깊은 복사
#
# x[2][2] = 9
# print(x)
# x = []
# v = [0] * 5
#
# # 얕은복사
# x.append(v)
# x.append(v)
# x.append(v)
# x.append(v)
# x.append(v)
#
# x[2][2] = 9
# print(x)
# n=int(input())
# a=input().split()
# for i in range(n) :
# a[i]= int(a[i])
# l=[]
# for i in range(24) :
# l.append(0)
# for i in range(n) :
# l[a[i]]+=1
# for i in range(1,24) :
# print(l[i],end=' ')
n=int(input())
a=list(map(int, input().split()))
# a.reverse()
# print(a)
for i in range(n-1, -1,-1) :
print(a[i],end=' ')
top of page
실제 작동 상태를 확인하려면 라이브 사이트로 이동하세요.
20240203
20240203
댓글 0개
좋아요
댓글(0)
bottom of page