//package com.company;
import java.io.*;
import java.math.BigInteger;
import java.util.*;


public class Main {

    public static void main(String[] args) throws IOException {
        MyScanner sc = new MyScanner(System.in);
        PrintWriter pw = new PrintWriter(System.out);
        A(sc, pw);
        pw.close();
    }

    public static void A(MyScanner sc, PrintWriter pw) throws IOException {
        int n = sc.nextInt();
        int[] a = new int[51];
        a[0] = 0;
        a[1] = 1;
        for (int i = 2; i < 51; i++) {
            a[i] = a[i - 1] + a[i - 2];
        }
        StringBuilder sb = new StringBuilder();
        for (int i = 1; i <= n; i++) {
            boolean in = false;
            for (int j = 0; j < 51; j++) {
                if (i == a[j]) {
                    in = true;
                    break;
                }
            }
            if (in){
                sb.append('O');
            } else {
                sb.append( 'o');
            }
        }
        pw.println(sb.toString());
    }

    public static void B(MyScanner sc, PrintWriter pw) throws IOException {


    }


    public static void C(MyScanner sc, PrintWriter pw) throws IOException {


    }


    public static void D(MyScanner sc, PrintWriter pw) throws IOException {


    }


    public static void E(MyScanner sc, PrintWriter pw) throws IOException {


    }



    static class MyScanner {
        StringTokenizer st;
        BufferedReader br;

        public MyScanner(InputStream s){  br = new BufferedReader(new InputStreamReader(s));}

        public MyScanner(FileReader s) throws FileNotFoundException {br = new BufferedReader(s);}

        public String next() throws IOException
        {
            while (st == null || !st.hasMoreTokens())
                st = new StringTokenizer(br.readLine());
            return st.nextToken();
        }

        public int nextInt() throws IOException {return Integer.parseInt(next());}

        public long nextLong() throws IOException {return Long.parseLong(next());}

        public String nextLine() throws IOException {return br.readLine();}

        public double nextDouble() throws IOException { return Double.parseDouble(next()); }

        public boolean ready() throws IOException {return br.ready();}
    }
}