Complete to 9#11482

Complete to 9

0.999 seconds
244.141 megabytes
Easy

Given a three-digit natural number , your task is to create a new number by replacing each digit of with its complement to . For instance, if n = 105, the resulting number will be .

Input

The input consists of a single line containing the number , where 100 \leq n \leq 999.

Output

Print the newly formed number on a single line.

Examples

Example

Loading
Loading