import java.util.Arrays;
import java.util.Scanner;

public class Fib {
	private int size;
	private int[] lookup;
	public Fib(int size) {
		this.size=size;
		lookup = new int[size+1];
		for(int i=0;i<=size;i++) {
			lookup[i]=-1;
		}
	}
	public int fibAnswer(int n) {
		if(lookup[n]==-1) {
			if(n<=1) {
				lookup[n] = n;
			}
			else {
				lookup[n]=fibAnswer(n-1)+fibAnswer(n-2);
			}
		}
		return lookup[n];
		
	}
	public static void main(String[] args) {
		
		
		Scanner sc = new Scanner(System.in);
		Integer i = sc.nextInt();
		boolean[] s= new boolean[i];
		Arrays.fill(s, false);
		
		for(int j=1;j<i;j++) {
			Fib f = new Fib(j);
			if(f.fibAnswer(j)>i) {
				break;
			}
			s[f.fibAnswer(j)-1]=true;
			
			
		}
		String st = "";
		for(int k=0;k<i;k++) {
			if(s[k]) {
				st+="O";
			}
			else {
				st+='o';
			}
		}
		
		System.out.println(st);
	}
}


