var n;
n=readline();
var fib=[];
for (var x=0;x<n;x++){
	fib.push(false);
}
fib[1]=true;
fib[2]=true;
fib[3]=true;
var prev,nprev;
prev=2;
nprev=3;
for (var x=0;x<=1000000;x++){
	fib[prev+nprev]=true;
	prev=nprev;
	nprev=prev+nprev;
}
for (var x=1;x<=n;x++){
	if (fib[x]){
		write('O');
	}
	else {
		write('o');
	}
}