s = "sooks"
s1 = s[::-1]
s2 = s1.split()
s3 = s2[::-1]
s4 = " ".join(s3)
print(s4)

Posted on by