import java.io.*;
import java.util.*;
public class Main
{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int limit = sc.nextInt();
        int i = 3;
        int first = 3;
        int second = 5;
        if (limit == 0) {
            return;
        } else if (limit == 1) {
            System.out.print("O");
            return;
        } else {
            System.out.print("OO");
        }
        while (i <= limit) {
            if (first == i) {
                System.out.print("O");
                int third = first + second;
                first = second;
                second = third;
            } else {
                System.out.print("o");
            }
            i++;
        }
    }
}