

import java.awt.Point;
import java.text.SimpleDateFormat;
import java.util.HashSet;
import java.util.Scanner;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Blulogix
 */
public class Main {
    public static void main(String[] args)throws Exception {
        Scanner in =new Scanner(System.in);
        int a=in.nextInt();
        
        HashSet<Integer>list=new HashSet<>();
        
        int a1=1;
        int b2=1;
        list.add(1);
        while(true){
        int c=a1+b2;
        a1=b2;
        b2=c;
        list.add(c);
        if(c>a)
            break;
        }
        StringBuffer result=new StringBuffer();
        for (int i = 1; i <= a; i++) {
            if(list.contains(i)){
            result.append("O");
            }else
                result.append("o");
        }
        System.out.println(result.toString());
    }
}
