Two things have to be changed:
1. When using input(), you have to give only one argument, not 5. So you have to join the different parts of your question into one string. This is done via +, but all Arguments should be strings, so the correct line is
pie=input("What is "+str(whi)+"+"+str(man)+"?")
2. The return value of input() is a string, but qua is an integer. Convert it to a string so the two can be compared:
if pie==str(qua):
One thing I couldn't help noticing: if the second answer is correct, the answer is "Better", irrespective of whether you got the first one right. Maybe this should be changed …
Hope this helps!