시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 770 356 308 48.428%

문제

상근이는 이진수 곱셈에 어려움을 겪는 여자친구를 위한 프로그램을 만드려고 한다.

상근이의 여자친구는 항상 이진수에 17을 곱한다. 즉, 이진수 N이 입력으로 들어오면 17을 곱한 다음 이진수로 출력하는 프로그램을 작성하시오.

입력

첫째 줄에 이진수 N이 주어진다. N은 최대 1000자리인 이진수이며, 0이 들어오는 경우는 없다.

출력

입력으로 주어진 N을 17배한 다음, 이진수로 출력한다.

예제 입력 1

10110111

예제 출력 1

110000100111
W3sicHJvYmxlbV9pZCI6IjU4OTMiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiIxN1x1YmMzMCIsImRlc2NyaXB0aW9uIjoiPHA+XHVjMGMxXHVhZGZjXHVjNzc0XHViMjk0IFx1Yzc3NFx1YzljNFx1YzIxOCBcdWFjZjFcdWMxNDhcdWM1ZDAgXHVjNWI0XHViODI0XHVjNmMwXHVjNzQ0IFx1YWNhYVx1YjI5NCBcdWM1ZWNcdWM3OTBcdWNlNWNcdWFkNmNcdWI5N2MgXHVjNzA0XHVkNTVjIFx1ZDUwNFx1Yjg1Y1x1YWRmOFx1YjdhOFx1Yzc0NCBcdWI5Y2NcdWI0ZGNcdWI4MjRcdWFjZTAgXHVkNTVjXHViMmU0LjxcL3A+XHJcblxyXG48cD5cdWMwYzFcdWFkZmNcdWM3NzRcdWM3NTggXHVjNWVjXHVjNzkwXHVjZTVjXHVhZDZjXHViMjk0IFx1ZDU2ZFx1YzBjMSBcdWM3NzRcdWM5YzRcdWMyMThcdWM1ZDAgMTdcdWM3NDQgXHVhY2YxXHVkNTVjXHViMmU0LiBcdWM5ODksIFx1Yzc3NFx1YzljNFx1YzIxOCBOXHVjNzc0Jm5ic3A7XHVjNzg1XHViODI1XHVjNzNjXHViODVjIFx1YjRlNFx1YzViNFx1YzYyNFx1YmE3NCAxN1x1Yzc0NCBcdWFjZjFcdWQ1NWMgXHVi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