#include<stdio.h>
int main()
{
    int i,num,n,x;
    scanf("%d",&n);
    char c[n+1];
    for(i=0;i<=n;i++)
    {
        c[i]='o';
    }
    for(i=0;i<n&&fibo(i+1)<=n;i++)
    {
        x = fibo(i+1);
            c[x]='O';
    }
    for(i=1;i<=n;i++)
    {
        printf("%c",c[i]);
    }
}
int fibo(int num)
{
    if (num == 0)
    {
        return 0;
    }
    else if (num == 1)
    {
        return 1;
    }
    else
    {
        return(fibo(num - 1) + fibo(num - 2));
    }
}
