import java.util.Scanner;
import java.util.ArrayList;

public class CodeForces {
    public static ArrayList<Integer> Fibonnaci = new ArrayList<Integer>();
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        printName(n);

    }
    public static void printName(int n){
        Fibonnaci(n);
        for (int i = 1; i <= n; i++) {
            if (Fibonnaci.contains(i)) {
                System.out.print("O");
            }
            else{
                System.out.print("o");
            }
        }
    }
    public static void Fibonnaci(int n)
    {
       int x1 = 1;
       int x2 = 1;
       int num = 1;
       Fibonnaci.add(1);
       while (num < n) {
            num = x1 + x2;

            Fibonnaci.add(num);
            x2 = x1;
            x1 = num;


        }
    }


}