import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner s=new Scanner(System.in);
        int i,n;
        n=s.nextInt();
        for(i=1;i<=n;i++){
            if(isFib(i)==1){
                System.out.print("O");
            }else{
                System.out.print("o");
            }
        }
    }
    public static int isFib(int m){
        int i,flag=0;
        int[] fib=new int[20];
        fib[0]=1;
        fib[1]=1;
        for(i=2;i<20;i++){
            fib[i]=fib[i-2]+fib[i-1];
        }
        for(i=0;i<20;i++){
            if(m==fib[i]){
                flag=1;
                break;
            }
        }
        return flag;
    }
}
