e-olymp
Competitions

Вступ_Заоч-3

Change the parity

Positive integer n is given. Increase by 1 all its even digits and decrease by 1 all its odd digits.

Input

One positive integer n.

Output

Print the updated number.

Time limit 1 second
Memory limit 128 MiB
Input example #1
30
Output example #1
21
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"