import java.util.Scanner;

public class A{
    public static void main(String[] args){
    	String output;
    	int input,j;
    	Scanner sc = new Scanner(System.in);
        input = sc.nextInt();
        int arr[]=new int[input];
    	arr[0]=1;
    	arr[1]=1;
        if (input==1){
        	output="O";
        }else if(input==2){
        	output="OO";
        }else  {
        	j=2;
        	output="OO";
        for (int i =2; i<input; i++){
        	arr[i]= arr[(i-1)] + arr[(i-2)];
    	}
        	for (int i=2; i<input; i++){
        		if (arr[j]==i){
        			output+="O";
        			j++;
        		}else{
        			output+="o";
        		}
        		}
        		}
        		System.out.print(output);
        	}
        }