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

	public class Main
	{
		public static void init(boolean arr[]){
			int first = 0;
			int second = 1;
			while(first < 1000 ){
				arr[first] = true;
				int third = first + second;
				first = second;
				second = third;
			}
			//arr[1] = true;
			
		}
		public static void main(String args[])
		{
			Scanner sc = new Scanner(System.in);
			PrintWriter pw = new PrintWriter(System.out);
			boolean arr[] = new boolean[1001];
			init(arr);
			int n = sc.nextInt();
			for(int i = 1 ; i <= n ; i++)
			{
				if(arr[i])
				{
					pw.print('O');
				} else pw.print('o');
			}
			pw.close();
		}
	}