/*                 _____                                                             ___
    /\      /\    |     | |   |    /\       /\      /\       /\      /\       /\    |   \     محمد أبوحسن*
   /  \    /  \   |     | |___|   /__\     /  \    /  \     /  \    /  \     /__\   |    \
  /    \  /    \  |     | |   |  /    \   /    \  /    \   /    \  /    \   /    \  |    /
 /      \/      \ |_____| |   | /      \ /      \/      \ /      \/      \ /      \ |___/
*/
//M O H A M M A D || A M E E N || S A E D || A B O H A S A N
import java.util.*;
public class Mohammad {
    public static void main(String[] args) {
        Scanner sc =new Scanner(System.in);
        long n = sc.nextLong();
        int[] a = new int[1000];
        a[0] = 1;
        a[1] = 1;
        ArrayList<Integer> list = new ArrayList<>();
        for (int i = 2; i < a.length; i++) {
            a[i] = a[i - 2] + a[i - 1];
            list.add(a[i]);
        }
        String s = "O";
        for (int i = 2; i <= n; i++) {
            if(list.contains(i))
                s += "O";
            else
                s += "o";
        }
        System.out.println(s);
    }
}