import java.util.*;
public class CODEFORCES
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        int n,a=1,b=1,c=0;
        n=sc.nextInt();
        String st="O";
        for(int i=2;i<=n;i++)
        {
            while(c<i)
            {
                c=a+b;
                a=b;
                b=c;
            }
            if(c==i)
            st+="O";
            else
            st+="o";
        }
        System.out.println(st);    
    }        
}