import java.util.HashSet;
import java.util.Scanner;

public class Solution{
	public static void main(String []args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		
		HashSet<Integer> h = new HashSet<>();
		h.add(1);
		
		int i = 1;
		
		int a = 1;
		int b = 1;
		int c;
		
		while(i <= n) {
			c = a + b;
			h.add(c);
			a = b;
			b = c;
			i++;
		}
		
		
		StringBuilder sb = new StringBuilder();
		for(i = 1 ; i <= n ; i++) {
			if(h.contains(i)) {
				sb.append("O");
			}else {
				sb.append("o");
			}
		}
		
		String answer = sb.toString();
		
		System.out.println(answer);
		
		sc.close();
	}
}