// package CodeForces;

import java.io.*;
import java.util.*;

public class Ptoblem_918A {
	public static void main(String[] args) throws IOException {
		Scanner sc = new Scanner();
		PrintWriter pw = new PrintWriter(System.out);
		int n=sc.nextInt();
		ArrayList<Integer>a=new ArrayList<>();
		a.add(1);a.add(2);
		while(a.get(a.size()-1)<1000)
			a.add(a.get(a.size()-1)+a.get(a.size()-2));
		char[]c=new char[n+1];
		Arrays.fill(c, 'o');
		for(int i=1;i<=n;i++)
		{
			if(a.contains(i))
				c[i]='O';
			System.out.print(c[i]);
		}
		
		pw.close();
	}

	static class Scanner {
		BufferedReader br;
		StringTokenizer st;

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

		String next() throws IOException {
			while (st == null || !st.hasMoreTokens()) {
				st = new StringTokenizer(br.readLine());
			}
			return st.nextToken();
		}

		int nextInt() throws IOException {
			return Integer.parseInt(next());
		}

		long nextLong() throws IOException {
			return Long.parseLong(next());
		}

		double nextDouble() throws IOException {
			return Double.parseDouble(next());
		}

		String nextLine() throws IOException {
			return br.readLine();
		}

		boolean hasnext() throws IOException {
			return br.ready();
		}

	}
}
