def get_input():

    amount_A = int(input("Enter amount spent by A "))
    spent_by_A = input("for ")
    amount_B = int(input("Enter amount spent by B "))
    spent_by_B = input("for ")
    amount_C = int(input("Enter amount spent by C "))
    spent_by_C = input("for ")
    amount_D = int(input("Enter amount spent by D "))
    spent_by_D = input("for ")
    amount_E = int(input("Enter amount spent by E "))
    spent_by_E = input("for ")
    spent_by_A.split(spent_by_A)
    print(spent_by_A)

get_input()
