import java.io.PrintWriter;
import java.util.Scanner;

public class A918
{
    public static void main(String[] args)
    {   
        int f1 = 1,sum = f1+f1,newSum = f1+sum,input;
        PrintWriter writer = new PrintWriter(System.out);
        StringBuilder sb = new StringBuilder();
        Scanner in = new Scanner(System.in);
        input = in.nextInt();
        for (int i = 1; i <= input; i++)
        {
            if (i == sum ||i == f1)
            {
                sb.append("O");
            }else if(i == newSum)
            {
                sb.append("O");
                
                newSum += sum;
                sum = newSum-sum;
                
            }
            else
            {
                sb.append("o");
            }
        }
        
        
        writer.println(sb);
        writer.close();
    }
}