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 Tanzim Ibn Patowary
 */
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);
        TaskA solver = new TaskA();
        solver.solve(1, in, out);
        out.close();
    }

    static class TaskA {
        static boolean isPerfectSquare(int x) {
            int s = (int) Math.sqrt(x);
            return (s * s == x);
        }

        static boolean isFibonacci(int n) {
            // n is Fibonacci if one of 5*n*n + 4 or 5*n*n - 4 or both
            // is a perfect square
            return isPerfectSquare(5 * n * n + 4) ||
                    isPerfectSquare(5 * n * n - 4);
        }

        public void solve(int testNumber, Scanner in, PrintWriter out) {
            for (int test = 0; test < testNumber; test++) {
                int n = in.nextInt();
                for (int i = 1; i <= n; i++) {
                    if (isFibonacci(i) == true) {
                        out.print('O');
                    } else {
                        out.print('o');
                    }
                }
            }
        }

    }
}

