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

public class problemA {
    //    private static final BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    private static final Scanner in = new Scanner(System.in);

    public static void main(String[] args) throws IOException {
        int t = 1;
//        t = Integer.parseInt(in.readLine());
//        t = in.nextInt();
        while (t != 0) {
            play();
            t--;
        }
    }

    public static void play() throws IOException {
        int n = in.nextInt();
        int[] a = new int[100010];
        long sum = 0;
        int[] b = new int[100010];
        b[0] = a[0] = 1;
        b[1] = a[1] = 1;
        for (int i = 2; ; ++i) {
            a[i] = a[i - 2] + a[i - 1];
            b[a[i]] = 1;
            if (a[i] >= n)
                break;
        }
        for (int i = 1; i <= n; ++i) {
            if (b[i] == 1)
                System.out.print("O");
            else
                System.out.print("o");
        }
    }
}

