
import java.util.Scanner;
public class Randoms {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int f = in.nextInt();
		int[] array = new int[f];
		array[0] = 1;
		if(f>2) {
			array[1] = 1;
			for(int i = 2;i<f;i++) {
				array[i] = array[i-2]+array[i-1];
			}		
		}
		int k = 1;
		if(f>4) {
				for(int i = 0;i<f;i++) {
					if(k<f) {
						if(i+1==array[k]) {
							System.out.print("O");
							k++;
						}
						else {
							System.out.print("o");
						}
					}
				}
			}
		else 
		{
			switch(f) {
			case 2: System.out.print("O");System.out.print("O");
			break;
			case 1:System.out.print("O");
			break;
			case 3: System.out.print("O");System.out.print("O");System.out.print("O");
			break;
			case 4: System.out.print("O");System.out.print("O");System.out.print("O");System.out.print("o");
			break;
			}
		
		}
		in.close();
		
		
		
		
		//1 1 2 3 5 8
	}
}