import java.util.ArrayList;
import java.util.Scanner;

public class Main918A {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            int n = in.nextInt();
            ArrayList<Integer> list = fn(n);
            for (int i = 1, j = 0; i <= n; i++) {
                if (j < list.size() && i == list.get(j)) {
                    System.out.print("O");
                    j++;
                } else {
                    System.out.print("o");
                }
            }
        }
    }

    public static ArrayList<Integer> fn(int max) {
        ArrayList<Integer> list = new ArrayList<>();
        for (int i = 1; i <= max; i++) {
            int x = fnn(i);
            if (fnn(i) > max) {
                break;
            }
            list.add(fnn(i));
        }
        return list;
    }

    public static int fnn(int n) {
        int a = 1;
        int b = 2;
        if (n == 1) {
            return a;
        }
        if (n == 2) {
            return b;
        }
        int c = 0;
        for (int i = 3; i <= n; i++) {
            c = a + b;
            a = b;
            b = c;
        }
        return c;
    }


}
