☢ 0-8. Expression Parser

Sample Input 1

16+14+x-a+6y-2x+5c
x = 3
y = 1
a = 1
c = 6

Sample Output 1

62