/*
 * Timothy Deligero
 * COP 4516
 * NID:ti951445
 */

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

public class Eleven 
{
	public static void main(String[] args) throws IOException 
	{
		Scanner in = new Scanner(System.in);
		int letters = in.nextInt();
		int temp [] = new int [2];
		int counter = 1;
		temp[0] = 2;
		temp[1] = 1;
		HashSet<Integer> fib = new HashSet<Integer>();
		fib.add(1);
		fib.add(2);
		
		while(temp[0] + temp[1] <= letters)
		{
			fib.add(temp[0] + temp[1]);
			temp[counter % 2] = temp[0] + temp[1];
			counter++;
		}
		
		for(int i = 1; i <= letters; i++)
		{
			if(fib.contains(i))
			{
				System.out.print("O");
			}
			
			else
			{
				System.out.print("o");
			}
		}
		
		return;
	}
}