// https://codeforces.com/problemset/problem/918/A
import java.util.Scanner;


public class p_36 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int no = sc.nextInt();

        String s = "";
        int[] A = f_1(no);
        int m = 0;
        int flage = 0;
        for (int i = 1; i <= no; i++) {
            
            for (int j = m; j < A.length; j++) {
                if (i == A[j]) {
                    flage = 1;
                    s += "O";
                    m = j + 1;
                    break;
                }
                if (A[j] > i) {
                    break;
                }
            }
            
            if (flage == 0) {
                s += "o";
            } else {
                flage = 0;
            }
        }

        System.out.println(s);
    }
    
    public static int[] f_1(int a) {
        int A[] = new int[a];
        A[0] = 1;
        if (a > 2) {
            A[1] = 1;
        }
        for (int i = 2; i < a; i++) {
            if (A[i - 1] + A[i - 2] <= a) {
                A[i] = A[i - 1] + A[i - 2];
            } else {
                break;
            }
        }

        return A;
    }
}
