import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Eleven {

	public static void main(String[] args) throws Exception{
		BufferedReader bi = new BufferedReader(new InputStreamReader(System.in));
		String line;
		int n,f,f1,f2;
		f1=1;f2=1;
		n =Integer.parseInt(bi.readLine());
		char[] tt=new char[n];
		tt[0]='O';
		for(int i=2;i<tt.length;i++) {
			tt[i]='o';
		}
		int i=2;
		f=f1+f2;
		while(f<=n) {
			f1=f2;
			f2=f;
			tt[f-1]='O';
			f=f1+f2;
		}
		String c=new String(tt);
		System.out.println(c);
	}

}
