import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.StringTokenizer;


public class Solution {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		FastScanner sc = new FastScanner();
		int n = sc.nextInt();
		HashMap<Integer,Integer> fib = genFib(n);
		for(int i=1;i<=n;i++){
			if(fib.containsKey(i))
				System.out.print("O");
			else
				System.out.print("o");
		}
    }
	
	public static HashMap<Integer,Integer> genFib(int n){
		int last = 0;
		int lastbut = 1;
		int curr = 0;
		HashMap<Integer,Integer> list = new HashMap<Integer,Integer>();
		list.put(0,0);
		while(last+lastbut <= n){
			curr  = last + lastbut;
			list.put(curr,curr);
			last = lastbut;
			lastbut = curr;
		}
		return list;
	}

	public static class FastScanner {
		BufferedReader br;
		StringTokenizer st;

		public FastScanner(String s) {
			try {
				br = new BufferedReader(new FileReader(s));
			} catch (FileNotFoundException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
		}

		public FastScanner() {
			br = new BufferedReader(new InputStreamReader(System.in));
		}

		String nextToken() {
			while (st == null || !st.hasMoreElements()) {
				try {
					st = new StringTokenizer(br.readLine());
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}
			return st.nextToken();
		}

		int nextInt() {
			return Integer.parseInt(nextToken());
		}

		long nextLong() {
			return Long.parseLong(nextToken());
		}

		double nextDouble() {
			return Double.parseDouble(nextToken());
		}
	}
}
