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