import java.util.Arrays;
import java.util.Scanner;

public class Main {
	
	public static void main(String[] args) {
		Scanner in =new Scanner(System.in);
		int n =in.nextInt();
		int[] a = new int[1001];
		a[1]=1;
		a[2]=1;
		for(int i = 3;i<=20;i++){
			a[i]=a[i-1]+a[i-2];
		}
		for(int i =1;i<=n;i++){
			for(int j =1;j<=100;j++){
				if(i==a[j]){
					System.out.print("O");
					break;
				}
				if(i<a[j]){
					System.out.print("o");
					break;
				}
			}
		}
		System.out.println();
	}

}
