import java.util.Scanner;

public class Main {
    
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        
        int[] fib = new int[20];
        fib[0] = 1;
        fib[1] = 2;
        for (int i = 2; i < 20; i++) {
            fib[i] = fib[i - 1] + fib[i - 2];
        }
        
        int len = scan.nextInt();
        
        StringBuilder s = new StringBuilder();
        boolean flag;
        for (int i = 1; i < len + 1; i++) {
            flag = false;
            for (int j = 0; j < fib.length; j++) {
                if (i == fib[j]) {
                    s.append('O');
                    flag = true;
                }
            }
            if (!flag) {
                s.append('o');
            }
        }
        System.out.println(s);
    }
    
}
