import java.util.*;
import java.io.*;
public class main
{
    public static void main(String[] args) throws Exception
    {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(br.readLine());
        int[] arr = new int[n+3];
        HashSet<Integer> set = new HashSet<>();
        arr[0] = 1;arr[1] = 1;
        set.add(arr[0]);set.add(arr[1]);
        for(int i=2;i<=n;i++)
        {
            arr[i] = arr[i-1] + arr[i-2];
            set.add(arr[i]);
        }
        for(int i=1;i<=n;i++)
        {
            if(set.contains(i))
                System.out.print("O");
            else
                System.out.print("o");
        }
    }
}