import java.util.Scanner;
public class Eleven {
    public static void main(String args[])
    {
        Scanner sc = new Scanner(System.in);
        int fib[] = {0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987}; 
        int no = sc.nextInt();
        String name = "";
        for(int i=1;i<=no;i++)
        {
            int flag = 0;
            for(int j=0;j<fib.length;j++)
            {
                if(i==fib[j])
                {
                    flag = 1;
                    name+="O";
                    break;
                }
               
            }
            if(flag != 1)
            {
                name+="o";
               
            }
        }
        System.err.println(name);
    }
}
