import java.util.ArrayList;
import java.util.Scanner;

public class Program {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int [] fib = {1, 1, 2, 3, 5 ,8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987};
		String str = "";
		for(int i = 1; i<=n; i++)
		{
			boolean b = false;
			for(int j = 0; j<fib.length; j++)
			{
				if(i == fib[j])
				{
					b = true;
					break;
				}
			}
			if(b)
			{
				str += 'O';
			}
			else
			{
				str += 'o';
			}
		}
		System.out.println(str);

			
		
	}



}
