#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  int l = 1;
  int r = n;
  bool trn = 0;
  while (l <= r) {
    if (!trn)
      cout << l++;
    else
      cout << r--;
    cout << " ";
    trn = !trn;
  }
}
