#include<bits/stdc++.h>
//C:\Users\prana\Desktop\C++\CodeForcesQs
using namespace std;
#define llint \
long long int
#define lint \
long int
main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);
    int n;
    cin>>n;
    vector<int> v;
    int a=1,b=0;
    while (a<n)
    {
        int c=a;
        a=a+b;
        b=c;
        v.push_back(a);
    }
    int k=0;
    for (int i=1;i<=n;i++)
    {
        if (i==1) cout<<"O";
        else if (i==v[k])
        {
            k++;
            cout<<"O";
        }
        else cout<<"o";

    }
}
