Problems
304 - Think Big
SUBMIT PROBLEM

Think Big

Time Limit: 1 sec

 

The Problem

Make a simple program that reads one variables named N. Now do the process multiply N by 567, then subtract 357, then add 7492, then multiply by 9879, then subtract 4787, then multiply 7493, then subtract 498, then multiply 1237, then add 100, then multiply 9879, then subtract 9. Print the last 2 digit of final result.

 

 

Example:

Suppose N = 11

Step 1: Multiply by 567

11 x 567

= 6237

Step 2: Subtract 357

6237 - 357

= 5880

Step 3: Add 7492

5880 + 7492

= 13372

Step 4: Multiply by 9879

13372 x 9879

= 132101988

Step 5: Subtract 4787

132101988 - 4787

= 132097201

Step 6: Multiply 7493

132097201 x 7493

= 989804327093

Step 7: Subtract 498

989804327093 - 498

= 989804326595

Step 8: Multiply 1237

989804326595 x 1237

= 1224387951998015

Step 9: Add 100

1224387951998015 + 100

= 1224387951998115

Step 10: Multiply 9879

1224387951998115 x 9879

= 12095728577789378085

Step 11: Subtract 9

12095728577789378085 - 9

= 12095728577789378076

Step 12: :):):)

Print 76

 

The Input

The input file contains 1 integer numbers N (1<N<10000).

 

The Output

Output will show the last two digit of the final value in a separate line.

 

Sample Input

 11

 

Sample Output

 76

 

 

 

 

Problem Setter: Shahin ShamS