import java.util.HashMap;
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        HashMap<Integer,Boolean> map = new HashMap<Integer,Boolean>();
        int n = input.nextInt();
        map.put(0, true);
        map.put(1, true);
        map.put(2, true);
        map.put(3, true);
        map.put(5, true);             
        map.put(8, true);   
        map.put(13, true);
        map.put(21, true);
        map.put(34, true);
        map.put(55, true);
        map.put(89, true);
        map.put(144, true);
        map.put(233, true);
        map.put(377, true);
        map.put(610, true);
        map.put(987, true);
//0,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987
        for(int i=0;i<=n;i++){
            System.out.print(map.get(i)==null?"o":"O");
        }
    }
}