+ 2
Change that line to
B = int(cy) - int(UserAge)
Always put the variable name to be assigned on the left of the =.
+ 1
B should be an integer but you use it as a character .So instead you can declare B = ....
Here in your code B= int(cy)-int(UserAge).