1047 - What's the output of the program?

Time Limit : 1 Second

Memory Limit : 64 MB

Submission: 209

Solved: 29

Description
Give you a simple program, you are asked to print the output of this program.

The program only contains three kinds of sentences.
1, Define sentence: int value_name=value;
In this sentence, value_name only contains lower case letters,and it's length is less than or equal to 10, value is an integer.
2, Calculate sentence: value_A=value_B operator value_C(There is no space between value_B and operator, so does operator and value_C);
In this sentence, value_A, value_B and value_C are all defined before, and operator will only be "+", "-", "*" or "/".
3, Print sentence, printf("%d\n",value_A);
In this sentence, value_A is defined before.
Input
There is one single test case.
The program won't exceed 100 lines, one sentence per line. No unnecessary spaces will appear in the program.
All the calculations are legitimate and 32-bit integer is enough.
Output
The output of the program.
sample input
int c=3;
printf("%d\n",c);
int a=1;
int b=2;
c=a/b;
c=b+c;
printf("%d\n",c);
sample output
3
2
hint
source
cjqcjq
© 2015 HUST ACMICPC TEAM. All Right Reserved.