import java.util.*;
public class Odinnadcati {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long n = sc.nextLong();
		long a = 0, b = 1;
		long fi = a + b;
		String name = "";
		
		for(int i=0;i<n;i++) {
			if(i+1 == fi) {
				name+="O";
				a=b;
				b=fi;
				fi = a + b;
			} else {
				name+="o";
			}
		}
		
		System.out.println(name);
		sc.close();

	}

}
