import java.util.*;

public class Main {

	public static void main(String[] args) {
		
		Scanner scan = new Scanner (System.in);
		int n = scan.nextInt();
		
		Stack<Integer> fibb = new Stack<Integer>();
		fibb.push(1);
		fibb.push(1);
		int i1 = 1;
		int i2 = 1;
		for(int i = 2; i<n; i++){
			int i3 = i1 + i2;
			fibb.push(i3); 
			
			i1 = i2;
			i2 = i3;
		}
		
		for(int j = 1; j<n+1; j++){
			if(fibb.search(j) == (-1)){
				System.out.print("o");
			}else{
				System.out.print("O");
			}
		}

	}

}
		 	 	  	 	   	 		  		 	  		