Reverse and Capitalize



Problem to reverse the string and capitalize.



Example-1:


Input    : n = "crazy"
Output   : YZARC


Example-2:


Input    : n = "World"
Output   : DLROW  







Solution




n = "crazy"

m = n.upper()

m = m[::-1]

print(m)



Output



YZARC