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

public class A {
//1
    static BufferedReader in;
    static PrintWriter out;
    static StringTokenizer tok;

    public static void main(String[] args) throws IOException {
        try {
            in = new BufferedReader(new FileReader("input.txt"), 65536);
            out = new PrintWriter(new BufferedWriter(new FileWriter("output.txt"),65536));
        } catch (Exception e) {
            in = new BufferedReader(new InputStreamReader(System.in),32768);
            out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out),65536));
        }
        tok = new StringTokenizer("");
        new A().solve();
        out.flush();
        out.close();
    }

    String nextTok() throws IOException {
        while (!tok.hasMoreTokens()) {
            tok = new StringTokenizer(in.readLine());
        }
        return tok.nextToken();
    }

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

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

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

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

    class Pair implements Comparable<Pair>{
        int a;
        int b;
        Pair(int a, int b) {
            this.a = a;
            this.b = b;
        }

        @Override
        public int compareTo(Pair o) {
            if (b != o.b) return Integer.compare(o.b,b);
            return Integer.compare(a,o.a);
        }
    }
    

    void solve() throws IOException {
        int n = nextInt();
        HashSet<Integer> set = new HashSet<Integer>();
        int f = 0;
        int f1 = 1;
        set.add(1);
        while (f+f1 <= 1000) {
            set.add(f+f1);
            int t = f1;
            f1 = f+f1;
            f = t;
        }
        for (int i = 1; i <= n; i++) {
            if (set.contains(i)) {
                out.print("O");
            } else {
                out.print("o");
            }
        }
    }

}