

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

public class Eleven {

	static int n1=1,n2=1,n3=0;
	
	int[] fib(int x)
	{
		int a[]=new int[x];
		int m=x;
		int i=0;
		if(x>0)
		{    
	         n3 = n1 + n2;    
	         n1 = n2;    
	         n2 = n3;    
	         a[i]=n3;
	         i++;
	         fib(x-1);   
		}
		return a;
		//display(a,m);
	}
	void display(int a[],int b)
	{
		String str="";
		int j=1;
		while(j<=b)
		{
			int res = Arrays.binarySearch(a, j);
			boolean test = res > 0 ? true : false;
			if(test)
			{
				str=str+"O";
			}
			else
				str=str+"o";
			j++;
		}
		System.out.println(str);
	}
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);
		Eleven e=new Eleven();
		int n=sc.nextInt();
		int p[]=e.fib(n);
		e.display(p, n);
		
		

	}

}
