import java.util.*;

public class a{

	public void solve() {
		//	System.out.print("hello");
		Scanner in = new Scanner(System.in);
		int n = in.nextInt();
		
		//System.out.print("------------");

		int a[] = new int[1001];
		a[1] = 1;
		a[2] = 1;
		
		for(int i=3;i<=1000;i++) {
			a[i] = a[i-1] + a[i-2];
		}

		int pointer = 2;
		for(int i=1;i<=n;i++) {
			if(i == a[pointer]) {
				System.out.print("O");
				pointer++;
			}
			else {
				System.out.print("o");
			}
		}  
	}

	public static void main(String[] args) {
		new a().solve(); 
	}

}
