import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;

public class Test {

	static class FastReader {
		BufferedReader br;
		StringTokenizer st;

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

		String next() {
			while (st == null || !st.hasMoreElements()) {
				try {
					st = new StringTokenizer(br.readLine());
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
			return st.nextToken();
		}

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

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

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

		String nextLine() {
			String str = "";
			try {
				str = br.readLine();
			} catch (IOException e) {
				e.printStackTrace();
			}
			return str;
		}
	}

	public static void main(String[] args) {
		FastReader sc = new FastReader();
		int n = sc.nextInt();
		long[] arr = {1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987};
		StringBuilder ans=new StringBuilder("");
		for(int i=1;i<=n;i++) {
			boolean chk = false;
			for(int j=0;j<arr.length;j++) {
				if(arr[j]==i) {
					chk=true;
					break;
				}
			}
			if(chk)
				ans.append("O");
			else
				ans.append("o");
		}
		System.out.println(ans);
	}
}