import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Eleven {
    public static void main(String[] args) throws IOException{
        BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
        int n = Integer.parseInt(buf.readLine());
        String s = "";
        ArrayList<Integer> list = new ArrayList<>();
        list.add(1);
        list.add(1);
        int previousNum = 1;
        int realNum = 1;
        for(int i = 1; i < n+1; i++){
            int r = realNum + previousNum;
           list.add(r);
           previousNum = realNum;
           realNum = r;
        }
        for(int i = 1; i < n+1; i++){
            if(list.contains(i)){
                s += "O";
            }else s += "o";
        }
        System.out.println(s);
    }
}