#Lutece1390. Bigger Python.

Bigger Python.

Migrated from Lutece 1390 Bigger Python.

All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.

Description

There's nothing wrong with falling in love with a programming language for her looks. I mean, let's face it - Python does have a rockin' body of modules, and a damn good set of utilities and interpreters on various platforms. Her whitespace-sensitive syntax is easy on the eyes, and it's a beautiful sight to wake up to in the morning after a long night of debugging. The way she sways those releases on a consistent cycle - she knows how to treat you right, you know?

But let's face it - a lot of other languages see the attention she's getting, and they get jealous. Really jealous. They try and make her feel bad by pointing out the GIL, and they try and convince her that she's not "good enough" for parallel programming or enterprise-level applications. They say that her lack of static typing gives her programmers headaches, and that as an interpreted language, she's not fast enough for performance-critical applications.

She hears what those other, older languages like Java and C++ say, and she thinks she's not stable or mature enough. She hears what those shallow, beauty-obsessed languages like Ruby say, and she thinks she's not pretty enough. But she's trying really hard, you know? She hits the gym every day, trying to come up with new and better ways of JIT'ing and optimizing. She's experimenting with new platforms and compilation techniques all the time. She wants you to love her more, because she cares.

But then you hear about how bad she feels, and how hard she's trying, and you just look into her eyes, sighing. You take Python out for a walk - holding her hand - and tell her that she's the most beautiful language in the world, but that's not the only reason you love her.

You tell her she was raised right - Guido gave her core functionality and a deep philosophy she's never forgotten. You tell her you appreciate her consistent releases and her detailed and descriptive documentation. You tell her that she has a great set of friends who are supportive and understanding - friends like Google, Quora, and Facebook. And finally, with tears in your eyes, you tell her that with her broad community support, ease of development, and well-supported frameworks, you know she's a language you want to be with for a long, long time.

After saying all this, you look around and notice that the two of you are alone. Letting go of Python's hand, you start to get down on one knee. Her eyes get wide as you try and say the words - but she just puts her finger on your lips and whispers, "Yes".

The moon is bright. Python is beautiful.

In this problem,I will give you some python code,you should run the beautiful code.

In the code,there are only two algorithm:

1.assignment statement.Assign the value of A to B, where the B is legal .like:

code:

a=1 //a=1

b=1 //b=1

a=5+b //a=6

2.output statement print(A1[, A2, …]).The value of each variable or constant in the bracket after the print shoule be output. Between each of the two values separated with a space.But the end of the statement shoule be a new line.like:

code:

a = 123//a=123

print(a, 4564)

print(a,a)

result:

123 4564

123 123

To make the problem easier,the code will obey following rules:

1.It can be runned with Python 3.5.1

2.The length of each variable names is smaller than 30.

3.There are only "print" , "=" , "+" , "-" , "(" , ") , "*" , and variable names in the code.

4.In the code,there are no blank space.

5.The variable names only contain upper letters or lower letters.

6.We guarantee that the variable that appeared in the assignment statement on the right side or appear in the output statement will be assigned.

7.We guarantee the constant will be smaller than 10000000001000000000 and be bigger than 1000000000-1000000000

Input

One statement per line.

The lines is smaller than 6060.

The length of the code will be smaller than 50005000

Output

Output the answer~

Samples

a=5+7+9
b=3+(5-7)*2
print(a,b)
a=a+a+a
print(a)
21 -1
63
a=-1+(-1)
b=-1
print(a,b)
-2 -1

Note

I love python,do you?

Resources

IEEEXTREME Programming Competition