링크 : https://www.acmicpc.net/problem/17210
#include <iostream>
using namespace std;
int main() {
int num = 0;
cin >> num;
int first = 0;
cin >> first;
if(num > 5) cout << "Love is open door";
else{
for(int i = 0; i < num-1; i++){
first ^= 1;
cout << first << endl;
}
}
return 0;
}