import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner scn = new Scanner(System.in);

        int num = scn.nextInt();
        String result = "";

        if (num < 3) {
            for (int i = 0; i < num; i++) {
                result += 'O';
            }
            System.out.println(result);
        } else {
            result = "OO";
            int first = 2;
            int second = 3;
            for (int i = 3; i <= num; i++) {
                if (i == second) {
                    result += 'O';
                    int temp = first + second;
                    first = second;
                    second = temp;
                } else {
                    result += 'o';
                }
            }
            System.out.println(result);
        }


    }
}

