import java.util.Scanner;

public class code{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);

		int n=input.nextInt();
		int[] arr=new int[1000];
		arr[0]=1;
		arr[1]=1;

		for(int i=2; i<=n; i++){
			arr[i] = arr[i-1]+arr[i-2];
			if(arr[i]>n)break;
		}

		for(int i=1, j=1; i<=n; i++){
			if(arr[j] == i){
				j++;
				System.out.print("O");
			}
			else
				System.out.print("o");
		}
		System.out.println();

	}
}