import java.util.Scanner;

/**
 *
 * @author pratyaydidwania
 */
public class Eleven {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        int fib[] = {1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        for (int i = 1; i < n+1; i++) {
            boolean isF = false;
            for (int j = 0; j < 15; j++) {
                if (i==fib[j]) {
                    isF = true;
                    break;
                }
            }
            if (isF)
                System.out.print("O");
            else
                System.out.print("o");
        }
    }
}
