import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;

public class Solution {

    static int[] toArray(int n) {
    	int[] arr = new int[n];
    	int i = 0;
    	int a = 1;
    	int b = 1;
    	int c = 1;
    	while (b <= n) {
    		arr[i] = c;
    		c = a + b;
    		a = b;
    		b = c;
    		i++;
    	}
    	return arr;
    }

    public static void main(String[] args) {
    	Scanner in = new Scanner(System.in);
        Integer n = in.nextInt();
        String res = "";
        int[] arr = toArray(n);
        int j = 0;
        for (int i = 0; i < n; i++) {
        	if (i + 1 == arr[j]) {
        		res += "O";
        		j++;
        	}
        	else {
        		res += "o"; 
        	}
        }
        System.out.println(res);
    }
}