
import java.util.Scanner;

public class CF 
{
	
	static void fib(int n)
	{
		int i=0, j =1, first = 0, second = 1, fibo = 0;
		int [] A = new int[1001];
		boolean b = true;
		char [] X = new char[10001];
		while(b)
		 {
			if(fibo==n)
			{
				break;
			}
			 fibo = first + second;
			 A[i] = fibo;
			 first = second;
			 second = fibo;
			 i++;
		 }
		while(j!=(n+1))
		 {
			 b = true;
			 for (int m=0; m<i; m++) 
			 {
				 if(A[m]==j)
				 {
					 X[j-1]='O';
					 b = false;
					 break;
				 }	
			 }
			 if(b)
			 {
				 X[j-1]='o';
			 }
			 j++;
		 }
		for (char c : X) 
		{
			System.out.print(c);
		}
		System.out.println();
		
	}
	public static void main(String[] args) 
	{
		Scanner sc = new Scanner(System.in);
		int a;
		a = sc.nextInt();
		fib(a);
		
	}

}
