
import java.util.*;
public class A {
	
public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	int [] fib;
	fib = new int[1001];
	Arrays.fill(fib, 0);
	fib[1] = 1;
	fib[2] = 1;
	for (int i = 3; i < 1001; i++) {
		fib[i] = fib[i-1]+fib[i-2];
	}
	int n = scan.nextInt();
	String s="";
	Character [] u = new Character[n];
	Arrays.fill(u, ' ');
	for (int i = 1; i <= 1001 && fib[i]<n; i++) {
		u[fib[i]-1]='O';
	}
	String ans="";
	for (int i = 0; i < n; i++) {
		if(u[i]!='O')
			{u[i]='o';
			ans+=u[i];
			}
		else
			ans+="O";
	}
	//String ans = String.valueOf(u);
	System.out.println(ans);
}
	
}