import java.util.Arrays;
import java.util.Scanner;

public class Main {

    public static void main(String args[]) {
        Scanner sca = new Scanner(System.in);
        int n;
        n = sca.nextInt();
        int array[] = new int[n];
        int n1 = 0;
        int n2 = 1;
        int n3;

        if (n == 1) {
            System.out.println("O");
        } else {
            array[0] = n1;
            array[1] = n2;

            for (int i = 2; i < n; i++) {
                n3 = n1 + n2;
                array[i] = n3;
                n1 = n2;
                n2 = n3;
            }

            for (int j = 1; j <= n; j++) {
                if (Arrays.binarySearch(array, j) > 0) {
                    System.out.print("O");
                } else {
                    System.out.print("o");
                }
            }
        }
        System.out.println("");

    }

}
