for i in range(1, n): # right side print(name[n-i:n])