import java.util.Scanner;

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

        String out = "";

        for (int i = 1; i < n + 1; i++) {
            if(isFib(i)) {
                out += 'O';
            }
            else {
                out += 'o';
            }
        }

        System.out.println(out);
    }

    public static boolean isFib(int n) {

        if(n == 1) {
            return true;
        }

        int[] fibNumbers = new int[18];
        fibNumbers[0] = 1;
        fibNumbers[1] = 1;


        for (int i = 2; i < 16; i++) {
            fibNumbers[i] = fibNumbers[i - 1] + fibNumbers[i - 2];
            if (fibNumbers[i] == n) {
                return true;
            }
        }
        return false;
    }
}
