import java.util.Scanner;
public class Eleven {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        int fibonacci[] = new int[16];
        fibonacci[0] = 1;
        fibonacci[1] = 1;

        for (int i = 2; i < 16; i++) {
            fibonacci[i] = fibonacci[i - 2] + fibonacci[i - 1];
        }

        for (int j = 1; j < n + 1; j++) {
            boolean in = false;
            for (int i = 0; i < 16; i++) {
                if (j == fibonacci[i]) {
                    in = true;
                    break;
                }
            }
            if (in) {
                System.out.print("O");
            } else {
                System.out.print("o");

            }

        }

    }

}
