import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		int n = scn.nextInt(), p = 1;
		String str = "";
		char sm = 'o', b = 'O';
		while(str.length() != n) {
			if(str.length() < 3) {
				str = str + b;
			}
			if(str.length() >= 3) {
				for(int i = 0; i<p; i++) {
					str = str + sm;
					if(str.length() == n) break;
				}
				if(str.length() == n) break;
				str = str + b;
				p = p+p;
			}
		}
		System.out.println(str);
	}
}