#include <bits/stdc++.h>
using namespace std;
int n;
int dx[2] = {1, -1};
int main() {
  while (cin >> n) {
    int pos = 1;
    for (int i = 0; i < n; ++i) {
      cout << pos << " ";
      pos = pos + (n - i - 1) * dx[i & 1];
    }
    cout << endl;
  }
}
