#abc289a. [abc289_a]flip
[abc289_a]flip
Problem Statement
You are given a string consisting of two kinds of characters, 0
and 1
. Print the string obtained by replacing 0
with 1
and 1
with 0
in .
Constraints
- The length of is between and , inclusive.
- consists of two kinds of characters,
0
and1
.
Input
The input is given from Standard Input in the following format:
Output
Print the answer in a single line.
Sample Input 1
01
Sample Output 1
10
The -st character of is 1
, so the -st character to print is 0
. The -nd character of is 0
, so the -nd character to print is 1
.
Sample Input 2
1011
Sample Output 2
0100
Sample Input 3
100100001
Sample Output 3
011011110