import java.math.BigInteger;
import java.util.*;
import java.io.*;

public class Eleven
{
    public static void main(String args[])
    {
        Scanner in = new Scanner(System.in);
        while(in.hasNext())
        {
	        int n = in.nextInt();
	        boolean[] flag = new boolean[1005];
	        flag[1] = flag[2] = true;
	        int[] a = new int[100];
	        a[1] = a[2] = 1;
	        for(int i = 3;a[i-1]+a[i-2] <= 1000;i++)
	        {
	        	a[i] = a[i-1] + a[i-2];
	        	flag[a[i]] = true;
	        }
	        for(int i = 1;i <= n;i++)
	        	if(flag[i] == true)
	        		System.out.print("O");
	        	else
	        		System.out.print("o");
	        System.out.println();
	    }
    }
}