import java.util.*;
import java.io.*;
public class codeforces
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        int n =sc.nextInt();
        int arr[]=new int[5000];
        int a=1;
        int b=1;
        arr[1]=1;
        arr[2]=1;
        for(int i = 0 ;i<15;i++)
        {
            int c=a+b;
            arr[c]++;
            a=b;
            b=c;
        }
        for(int i=1;i<=n;i++)
        {
            if(arr[i]>=1)
            System.out.print('O');
            else
            System.out.print('o');
        }
    }
}