import java.util.Scanner;

public class ElevenNameCode {
	public static void main(String[] args) {
		int n =0;
		Scanner in = new Scanner(System.in);
		n = in.nextInt();
		System.out.println(Eleven(n));
		in.close();
	}
	public static String Eleven(int n) {
		String name = "";
		if(n >= 1) name = "O";
		int location2Fill = 2;
		
		int prevPrevFib = 1;
		int prevFib = 1;
		int Fib;
		while(location2Fill <= n) 
		{	
			Fib = prevPrevFib + prevFib;
			while(Fib > location2Fill & location2Fill <= n) {
				name += 'o';
				location2Fill++;
			}
			if(location2Fill <= n)
			{
				name += 'O';
				location2Fill++;
			}
			prevPrevFib = prevFib;
			prevFib = Fib;
		}
		return name;
	}
}

