#include <bits/stdc++.h>
using namespace std;
int main() {
  long long x, y, z, i, j, m, n;
  cin >> x;
  for (i = 1, j = x; j > i, i < j; i++, j--) {
    cout << i << " ";
    cout << j << " ";
  }
  if (x % 2 == 1) {
    cout << i;
  }
  cout << endl;
  return 0;
}
