Integer#7491

Integer

1 second
128 megabytes
Very easy

Create class 'Integer' according to the next class diagram:

![prb7491.gif](https://static.e-olymp.com/content/f7/f70410821a9dc7d945b72f69e8ef032ef8121e19.gif)

Given three integers , , , calculate the value of expression (a \cdot 7 + b - 2) \cdot (a - c + 5).

"' interface MyNumber public long getValue(); public MyInteger Add(long a); public MyInteger Add(MyInteger a); public MyInteger Minus(long a); public MyInteger Minus(MyInteger a); public MyInteger Multiply(long a); public MyInteger Multiply(MyInteger a); public MyInteger Divide(long a); public MyInteger Divide(MyInteger a);

class MyInteger implements MyNumber private long n; MyInteger(long n) ... ... "'

Input

One line contains three integers , , no more than 10^9 by absolute value.

Output

Print the value of given expression.

Examples

Example 1

Loading
Loading