시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 78 30 22 43.137%

문제

양의 정수 n이 주어졌을 때, n의 배수 중에서 0과 1로만 이루어진 m을 찾는 프로그램을 작성하시오. n은 200을 넘지 않고, m은 0보다 큰 양의 정수이며, 100자리를 넘지 않아야 한다.

입력

입력은 여러 개의 테스트 케이스로 이루어져 있다. 각 줄에는 n (1 ≤ n ≤ 200)이 주어진다. 입력의 마지막 줄에는 0이 주어진다.

출력

입력으로 주어지는 각각의 n마다 m을 출력한다. m의 길이는 100을 넘지 않으며, 가능한 경우가 여러가지라면 아무거나 출력한다.

예제 입력 1

2
6
19
0

예제 출력 1

10
100100100100100100
111111111111111111
W3sicHJvYmxlbV9pZCI6IjQ5OTQiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWJjMzBcdWMyMTggXHVjYzNlXHVhZTMwIiwiZGVzY3JpcHRpb24iOiI8cD5cdWM1OTFcdWM3NTggXHVjODE1XHVjMjE4IG5cdWM3NzQgXHVjOGZjXHVjNWI0XHVjODRjXHVjNzQ0IFx1YjU0Yywgblx1Yzc1OCBcdWJjMzBcdWMyMTggXHVjOTExXHVjNWQwXHVjMTFjIDBcdWFjZmMgMVx1Yjg1Y1x1YjljYyBcdWM3NzRcdWI4ZThcdWM1YjRcdWM5YzQgbVx1Yzc0NCBcdWNjM2VcdWIyOTQgXHVkNTA0XHViODVjXHVhZGY4XHViN2E4XHVjNzQ0IFx1Yzc5MVx1YzEzMVx1ZDU1OFx1YzJkY1x1YzYyNC4gblx1Yzc0MCAyMDBcdWM3NDQgXHViMTE4XHVjOWMwIFx1YzU0YVx1YWNlMCwgbVx1Yzc0MCAwXHViY2Y0XHViMmU0IFx1ZDA3MCBcdWM1OTFcdWM3NTggXHVjODE1XHVjMjE4XHVjNzc0XHViYTcwLCAxMDBcdWM3OTBcdWI5YWNcdWI5N2MgXHViMTE4XHVjOWMwIFx1YzU0YVx1YzU0NFx1YzU3YyBcdWQ1N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