#!/usr/bin/env python3

s = input()

num1Bits = s.count( '1' )

if num1Bits % 2 == 0:
	print( '{}{}'.format( s, 0 ) )
else:
	print( '{}{}'.format( s, 1 ) )

7b44e26378874e2693cb089ea1812329b030155d
<mask token>

<mask token>
if num1Bits % 2 == 0:
    print('{}{}'.format(s, 0))
else:
    print('{}{}'.format(s, 1))

s = input()
num1Bits = s.count('1')
if num1Bits % 2 == 0:
    print('{}{}'.format(s, 0))
else:
    print('{}{}'.format(s, 1))

#!/usr/bin/env python3

s = input()

num1Bits = s.count( '1' )

if num1Bits % 2 == 0:
	print( '{}{}'.format( s, 0 ) )
else:
	print( '{}{}'.format( s, 1 ) )
