import java.util.Scanner;

public class A {
	public static void main(String[] args) {
		Scanner sc= new Scanner(System.in);
		int length=sc.nextInt();
		//int[] array=new int[length];
		//array[0]=1;
		//array[1]=1;
		int first=1;
		int second=1;
		String result="O";
		for(int i=2;i<=length;i++) {
			if(i==first+second) {
				//System.out.println(i);
				result+="O";
				//array[i]=1;
				first=second;
				second=i;
			}else {
				result+="o";
			}
		}
		System.out.println(result);
	}
}