print "Welcome to Amanda's Toy Factory"
print "At this factory, you will need to have 5 upper pieces and 2 lower pieces to create a toy"
x = input("How many toys would you like to make?")
print "To create",x,"toys, you will need", x*5, "upper pieces and", x*2, "lower pieces"
a = input("How many upper pieces did you bring?")
b = input("How many lower pieces did you bring?")
Ex: If you input you have 23 U pieces and 5 L pieces, it should tell you that you can create 2 toys and you will have 13 U pieces and 1 L piece left.
Edit) Thank you Larry for telling me what was wrong, I corrected and submitted it.