import java.util.*;
public class A {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int n = in.nextInt();
        char[] name = new char[n];
        Arrays.fill(name,  'o');
        int i = 1, j = 1;
        name[0] = 'O';
        while (j - 1 < n) {
            int next = i + j;
            if ((next - 1) < n)
            name[next - 1] = 'O';
            i = j;
            j = next;
        }
        
        System.out.println(name);
    }
}
