# def Shuffle(firstname, lastname):
#     firstname, lastname = lastname, firstname
#     print(firstname, lastname)
#
#
# Shuffle("Nikhil", "Saha")




UserInput = str(input("Enter the name: "))
Length = len(UserInput)
print(Length)
for element in range(len(UserInput)):
    if UserInput[element] == " ":
        element
    else:
        continue
if word == 1:
    UserInput[len(element)-1] = UserInput[0]
    UserInput[0] = UserInput[len(element)-1]
print(UserInput[0] + UserInput[len(UserInput)-1])


print("All")

print("al")






759f6612f9ad7bf46e498217f44e7dd71c41e3f7
<mask token>

<mask token>
print(Length)
for element in range(len(UserInput)):
    if UserInput[element] == ' ':
        element
    else:
        continue
if word == 1:
    UserInput[len(element) - 1] = UserInput[0]
    UserInput[0] = UserInput[len(element) - 1]
print(UserInput[0] + UserInput[len(UserInput) - 1])
print('All')
print('al')

UserInput = str(input('Enter the name: '))
Length = len(UserInput)
print(Length)
for element in range(len(UserInput)):
    if UserInput[element] == ' ':
        element
    else:
        continue
if word == 1:
    UserInput[len(element) - 1] = UserInput[0]
    UserInput[0] = UserInput[len(element) - 1]
print(UserInput[0] + UserInput[len(UserInput) - 1])
print('All')
print('al')

# def Shuffle(firstname, lastname):
#     firstname, lastname = lastname, firstname
#     print(firstname, lastname)
#
#
# Shuffle("Nikhil", "Saha")




UserInput = str(input("Enter the name: "))
Length = len(UserInput)
print(Length)
for element in range(len(UserInput)):
    if UserInput[element] == " ":
        element
    else:
        continue
if word == 1:
    UserInput[len(element)-1] = UserInput[0]
    UserInput[0] = UserInput[len(element)-1]
print(UserInput[0] + UserInput[len(UserInput)-1])


print("All")

print("al")





