#include <bits/stdc++.h>
using namespace std;
int dp[1000] = {};
int main() {
  int n;
  cin >> n;
  dp[0] = dp[1] = 1;
  map<int, bool> mp;
  mp[0] = mp[1] = 1;
  for (int i = 2; i <= 15; ++i) {
    dp[i] = dp[i - 1] + dp[i - 2];
    mp[dp[i]] = 1;
  }
  for (int i = 1; i <= n; ++i) {
    cout << (mp[i] ? 'O' : 'o');
  }
}
