import java.util.Scanner;

/**
 *
 * @author rn-sshawish
 */
public class COntest918A {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        int x1 = 1;
        int x2 = 1;
        boolean [] state = new boolean[n+2];
        state[1] = true;
        state[2] = true;
        while (true) {
            int x3 = x1 + x2;
            if (x3 > n) {
                break;
            }
            state[x3] = true;
            x1 = x2;
            x2 = x3;
        }
        StringBuilder out = new StringBuilder();
        for (int i = 1; i <= n; i++) {
            if (state[i]) {
                out.append('O');
            }else{
             out.append('o');
            }
        }
        System.out.println(out);
        
    }
}