import java.util.Scanner;

public class Eleven {

	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		int[] dp = new int[17];
		dp[1]=1;
		dp[2]=1;
		for (int i = 3;i<17;i++) {
			dp[i]=dp[i-1]+dp[i-2];
		}
		int N = input.nextInt();
		String ans = "";
		for (int i = 1; i <= N; i++) {
			if (Fib(i,dp)) ans+="O";
			else ans+="o";
		} 
		System.out.println(ans);
	}
	public static boolean Fib(int N, int[] dp) {
		for (int i = 0; i < dp.length; i++) {
			if (dp[i]==N) return true;
		}
		return false;
	}
}
