import java.io.*;
import java.util.*;
import java.lang.*;

public class Rextester{
    public static void main(String[] args)throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        int n = new Integer(br.readLine());
        br.close();
        StringBuffer sb = new StringBuffer();
        int[] array = new int[1001];
        array[1]=1;
        array[2]=1;
        for(int i=3;i<1001;i++){
            array[i]=array[i-1]+array[i-2];
        }
        boolean[] fibonacci = new boolean[1001];
        Arrays.fill(fibonacci,false);
        for(int i=1;array[i]<1001;i++){
            fibonacci[array[i]]=true;
        }
        for(int i=1;i<=n;i++){
            if(fibonacci[i]){
                sb.append("O");
            }
            else{
                sb.append("o");
            }
        }
        System.out.println(sb);
    }
}