import java.io.*;
import java.util.*;

public class Solution {

    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);
        int n=s.nextInt();
        int a=1,b=1,temp=0;
        HashSet hs = new HashSet();
           hs.add(1); 
       do
        {
            temp=a+b;
            a=b;
            b=temp;
           hs.add(temp);
            
        } while(temp<n);
        //System.out.println(hs);
        int i=1;
        while(i<=n)
        {
            if(hs.contains(i))
             System.out.print("O");  
            else
                System.out.print("o");
            i++;
        }
        }    
}