This type of error would be caused by something along these lines:
"some string" + anInt - anotherInt
The problem arises because of the String in this statement- the compiler interprets the plus sign as combining the String and int together. However, in this context, it doesn't know what to do with a minus sign- you can't subtract an int from a string.
Your problem can be solved by putting your integer operations inside sets of parenthesis- i.e.,
"some string" + (anInt - anotherInt)
If you're still having trouble, we can review your exact code and see where these parenthesis should be added- but this may be enough to get by on your own, which is always preferable!
EDIT: I'll leave the above post in case it is part of the issue as well, but after reviewing the code again, you have this line of code:
A = ( (14 - 'month') /12)
In which you're subtracting the String 'month' from the int 14. That'd probably be a problem.