#include <iostream>

using namespace std;

int main()
{ int n;
 cin>>n;
 char a[n]={'o'};
 int b[15]={1,2,3,5,8,13,21,34,55,89,144,233,377,610,987};

/* while (b[i]<=1000){
    i++;
    b[i]=b[i-1]+b[i-2];
   cout<<b[i]<<endl;

}*/


for (int i=1;i<=n;i++){
    for (int j=1;j<=15;j++){
        if (i==b[j])
        a[i]='O';
        else if (j==i&&a[i]!='O')
        a[i]='o';


}}


for(int i=1;i<=n;i++){
    cout<<a[i];
}
cout<<endl;
   // cout << "Hello world!" << endl;
    return 0;
}
