시간 제한 메모리 제한 제출 정답 맞은 사람 정답 비율
1 초 128 MB 77 31 23 44.231%

문제

양의 정수 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
W3sicHJvYmxlbV9pZCI6IjQ5OTQiLCJwcm9ibGVtX2xhbmciOiIwIiwidGl0bGUiOiJcdWJjMzBcdWMyMTggXHVjYzNlXHVhZTMwIiwiZGVzY3JpcHRpb24iOiI8cD5cdWM1OTFcdWM3NTggXHVjODE1XHVjMjE4IG5cdWM3NzQgXHVjOGZjXHVjNWI0XHVjODRjXHVjNzQ0IFx1YjU0Yywgblx1Yzc1OCBcdWJjMzBcdWMyMTggXHVjOTExXHVjNWQwXHVjMTFjIDBcdWFjZmMgMVx1Yjg1Y1x1YjljYyBcdWM3NzRcdWI4ZThcdWM1YjRcdWM5YzQgbVx1Yzc0NCBcdWNjM2VcdWIyOTQgXHVkNTA0XHViODVjXHVhZGY4XHViN2E4XHVjNzQ0IFx1Yzc5MVx1YzEzMVx1ZDU1OFx1YzJkY1x1YzYyNC4gblx1Yzc0MCAyMDBcdWM3NDQgXHViMTE4XHVjOWMwIFx1YzU0YVx1YWNlMCwgbVx1Yzc0MCAwXHViY2Y0XHViMmU0IFx1ZDA3MCBcdWM1OTFcdWM3NTggXHVjODE1XHVjMjE4XHVjNzc0XHViYTcwLCAxMDBcdWM3OTBcdWI5YWNcdWI5N2MgXHViMTE4XHVjOWMwIFx1YzU0YVx1YzU0NFx1YzU3YyBcdWQ1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