import java.util.Scanner;


public class Main {

    public static void main(String[] args) {
	    Scanner sc = new Scanner(System.in);
	    int input = Integer.parseInt(sc.next());
	    //System.out.println("input: " + input);
	    if(input == 1){
	        System.out.println("O");
	        return;
        }
		else{
			int a = 1;
			int b = 1;
			int c = 1;
			boolean[] array = new boolean[input];
			array[0] = true;
			array[1] = true;
			while (c <= input){
				array[c-1] = true;
				c = a + b;
				a = b;
				b = c;
			}

			for (int counter = 0; counter < array.length; counter++){
				if (array[counter]){
					System.out.print("O");
				}
				else{
					System.out.print("o");
				}
			}
		}

	}

}

  	 				  			 	    	  		   	 	