atcoder#ABC289A. [ABC289A] flip
[ABC289A] flip
Score : points
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.
01
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
.
1011
0100
100100001
011011110