#include <bits/stdc++.h>
using namespace std;

int main(){
	int n;
	cin>>n;
	std::vector<int> v;
	int fib[n+1],decide[n+1]={0};
	string s;
	s.assign(n,'o');
	fib[1]=1;
	s[0]='O';
	s[1]='O';
	//decide[2]=1;
	fib[2]=1;
	//v.push_back(fib[1]);
	//v.push_back(fib[2]);
	for(int i=3; i<=n; i++){
		fib[i]=fib[i-1]+fib[i-2];
		if(fib[i]<n) s[fib[i]-1]='O';
		else break;
		//v.push_back(fib[i]);
        
	}
	cout<<s<<endl;
}