import java.io.*;
import java.util.*;
public class MyClass {
    public static void main(String args[])throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
         BufferedWriter bw=new BufferedWriter(new OutputStreamWriter(System.out));
         int n=Integer.parseInt(br.readLine());
         HashSet<Integer> hs=new HashSet<Integer>();
         hs.add(1);
         hs.add(1);
         int a=1,b=1;
         while(a<=n && b<=n){
             int s=a+b;
             a=b;
             b=s;
             hs.add(s);
         }
         String ans="O"; 
         //bw.write(hs+"\n");
         for(int i=2;i<=n;i++){
             if(hs.contains(i)){
                 ans=ans.concat("O");
             }
             else
                ans=ans.concat("o");
         }
         bw.write(ans+"\n");
          bw.flush();
    }
   
   
}
