Expression#11312

Expression

1 second
128 megabytes
Easy

Given positive integer in its decimal representation without leading zeroes. Your task is to place between some digits the operator signs '+' (addition), '-' (subtraction) and '*' (multiplication), such that the following properties are held:

Your task is to place operators (or not place them at all) to obtain the least possible result.

Input

The first line contains one integer (1 \leq n < 10^{100}).

Output

Print one integer — the minimal possible integer that can be obtained from in a way described in the problem statement.

Examples

Example 1

Loading
Loading