import java.awt.Point;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;


public class A {
    
    public static void main(String[] args) throws IOException {
        Scanner in = new Scanner(System.in);
//        PrintWriter out = new PrintWriter(System.out);
//        out.close();
//        BufferedReader scan = new BufferedReader(new InputStreamReader(System.in));
        int n = in.nextInt();
        int a[] = new int[21];
        a[0] = 1;
        a[1] = 1;
        for (int i = 2;i <= 20; i++)
            a[i] = a[i - 1] + a[i - 2];
        int k = 1;
        for (int i = 1; i <= n; i++)
            if (a[k] == i) {
                k++;
                System.out.print("O");
            } else {
                System.out.print("o");
            }
        
            
        
    }
}