import java.io.*;
import java.util.*;

public class Main {
	
	
	static int[] getFib(int n)
	{
		if(n < 2) 
		{
			int[] a = new int[1];
			a[0] = 1;
			return a;
		}
		int[] f = new int[n + 1];
		f[1] = 1;
		f[2] = 1;
		for(int i = 3; i <= n; i++)
			f[i] = f[i-1] + f[i -2];
		return f;
	}
	
	public static void main(String args[]) throws IOException
	{
		
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		int[]fib = getFib(n+1);
		if(n ==1){
			System.out.println("O");
			return;
		}
			
		for(int i = 1; i <= n; i++)
		{
			boolean bool = false;
			for(int j = 1; j <= n + 1; j++)
			{
				if(fib[j] == i)
				{
					bool = true;
					break;
				}
			}
			System.out.print(bool ? "O" : "o");
		}
		
		
	}
	
		
}


