P11778 [AOJ] Change a Password
普及
题目描述

Example

Input

201

Output

701

输入格式

见题面

输出格式

见题面

样例输入
201
样例输出
701