import java.util.Scanner;
public class eleven
{
    public static void main(String args[])
    {
        int a=0;
        int b=1;
        Scanner s= new Scanner(System.in);
        int i, sum=0;
        int n= s.nextInt();
        int c[]= new int[n];
        for(i=0; i<n; i++)
        {
            sum=a+b;
            a=b;
            b=sum;
            if(sum>n-1)
            break;
            else
            c[sum]=1;
        }
        for(i=1; i<n; i++)
        {
            if(c[i]==1)
            System.out.print("O");
            else
            System.out.print("o");
        }
    }
}