import java.util.*;
public class Solution {
    public static void main(String args[]) {
        Scanner input = new Scanner(System.in);
        int n = input.nextInt();
        System.out.println(solve(n));
    }
    public static String solve(int n) {
        ArrayList<Integer> list = fib(n);
        StringBuilder res = new StringBuilder();
        for(int i = 1; i <= n; i++) {
            if(list.contains(i)) {
                res.append("O");
            }else {
                res.append("o");
            }
        }
        return res.toString();
    }
    public static ArrayList<Integer> fib(int n) {
        ArrayList<Integer> list = new ArrayList();
        int a = 1, b = 1, c = 0;
        for(int i = 0; i < n; i++) {
            list.add(a);
            c = a + b;
            a = b;
            b = c;
        }
        return list;
    }
}













