import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author Bisoye
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        AEleven solver = new AEleven();
        solver.solve(1, in, out);
        out.close();
    }

    static class AEleven {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int n = in.nextInt();
            boolean[] A = new boolean[n + 1];

            int p = 1, pp = 1;
            while (p <= n) {
                A[p] = true;
                int temp = pp + p;
                pp = p;
                p = temp;
            }

            for (int i = 1; i < n + 1; i++) {
                if (A[i]) out.print("O");
                else out.print("o");
            }


        }

    }
}

