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



public class Main
{
    public static void main(String args[])
    {
        // String s=fs.next();
        //char c[]=s.toCharArray();
        //int len=s.length();
         InputStream in=System.in;
         FastScanner fs=new FastScanner(in);
         PrintWriter out=new PrintWriter(System.out);
         int n=fs.nextInt();
         int f1=1;
         int f2=1;
         if(n==1)
            out.print("O");
        else if(n==2)
             out.print("OO");
         else{ out.print("O");
         for(int i=2;i<=n;i++)
             if(i==f1+f2){
                 out.print("O");
                 f1=f2;
                 f2=i;

             }
             else 
                out.print("o");
        }
        out.println();
    out.close();
        
       
    }
   static class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        FastScanner(InputStream f) {
            try {
                br = new BufferedReader(new InputStreamReader(f));
            } catch (Exception e) {
                e.printStackTrace();
            }
        }

        String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }
        char [] charArray()
          {
            return  next().toCharArray();
          }
       



        
    }

}

