str1 = input("Enter first string: ")
str2 = input("Enter second string: ")
new_a = str2[:2] + str1[2:]
new_b = str1[:2] + str2[2:]
print("The string after swapping first two characters of both string: ", (new_a+' '+new_b))
