#include <bits/stdc++.h>
using namespace std;
void fast() {
  ios_base ::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
}
int main() {
  fast();
  int n;
  cin >> n;
  int l = n, r = 1, sz = 0;
  if (n % 2 == 0) {
    for (int i = 0; i < n / 2; ++i) {
      cout << l-- << " " << r++ << " ";
    }
  } else {
    cout << l-- << " ";
    for (int i = 0; i < n / 2; ++i) {
      cout << r++ << " " << l-- << " ";
    }
  }
  return 0;
}
