import java.util.*;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner (System.in);
		int n = sc.nextInt();
		int[] A = new int[n+10];
		StringBuilder ans = new StringBuilder();
		A[0] = 1;
		A[1] = 1;
		for(int i=2;i<=n;i++){
			A[i] = A[i-1]+A[i-2];
		}
		int ind = 1;
		for(int i=1;i<=n;i++){
			if(i==A[ind]){
				ans.append('O');
				ind++;
			}else{
				ans.append('o');
			}
		}
		System.out.println(ans.toString());

	}

}
