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 .
The input consists of a single line containing the number , where 100 \leq n \leq 999.
Print the newly formed number on a single line.
Example