import java.util.*;
public class Solution
{
    public static ArrayList<Integer> fib(ArrayList<Integer> a,int n)
    {
        int prev=1,curr=1;
        for(int i=0;i<=n;i++)
        {
            a.add(curr);
            int temp=prev;
            prev=curr;
            curr=temp+prev;
        }
        return a;
    }
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        String s="";
        ArrayList<Integer> a=new ArrayList<Integer>();
        a=fib(a,n);
        for(int i=1;i<=n;i++)
        {
            if(a.contains(i))
            {
                s+="O";
            }
            else
            {
                s+="o";
            }
        }
        System.out.println(s);
    }
}