import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int s = input.nextInt();
        int ar1[] = new int[s + 1];
        for (int i = 0; i <= s; i++) {
            if (i == 0 || i == 1) {
                ar1[i] = 1;
            } else {
                ar1[i] = ar1[i - 1] + ar1[i - 2];
            }
        }
        for (int i = 1; i <= s; i++) {
            boolean flag = false;
            for (int j = 0; j <= s; j++) {
                if (i == ar1[j]) {
                    flag = true;
                }
            }
            if (flag) {
                System.out.print("O");
            } else {
                System.out.print("o");
            }
        }
    }
}
