import java.util.* ;
public class codeforces {
	public static void main(String[] args) {
		Scanner in=new Scanner(System.in);
		int n=in.nextInt();
		StringBuffer sb=new StringBuffer();
		int f1=1;int f2=1;int f3=1;
		for(int i=1;i<=n;i++) {
			if(i==f3) {
				sb.append('O');
				f3=f2+f1;f1=f2;f2=f3;
			}
			else {
				sb.append('o');
			}
		}
		System.out.println(sb);
	}
}
