#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long i, j, k;
  int n;
  cin >> n;
  vector<int> arr(n);
  int f, l;
  f = 1;
  l = n;
  int sz = 0;
  while (sz < n) {
    if (sz % 2 == 0) {
      arr[sz] = f;
      sz++;
      f++;
    } else {
      arr[sz] = l;
      sz++;
      l--;
    }
  }
  for (auto it : arr) {
    cout << it << " ";
  }
  cout << endl;
  return 0;
}
