#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  for (int k = 1; k <= n / 2; k++) {
    cout << k << " " << n + 1 - k << " ";
  }
  if (n % 2 == 1) cout << (n + 1) / 2 << endl;
  return 0;
}
