import java.util.Arrays;
import java.util.Scanner;
public class Eleven {
	public static void main(String[]args) {
		Scanner sc = new Scanner(System.in);
		int input = sc.nextInt();
		int first = 1;
		int second = 2;
		int count = 2;
		
		while(second<input) {
			int temp = first+second;
			first = second;
			second = temp;
			count++;
		}
		int n[]=new int[count];
		first = 1;
		second = 2;
		n[0]=first;
		n[1]=second;
		for (int i=2; i<count;i++) {
			int temp =first+second;
			first = second;
			second = temp;
			n[i]=second;
			
		}
		int x =0;
		for(int i=1;i<=input;i++) {
			if(n[x]==i) {
				System.out.print("O");
				x++;
			}else {
				System.out.print("o");
			}
		}
		
	}

}
