Simple One line Python Solution


#1

def solve(self, A):
return " ".join(A.split()[::-1])