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