#include <bits/stdc++.h>
using namespace std;
int n, a[10001];
int main() {
  cin >> n;
  for (int i = 1; i <= n; ++i) a[i] = i;
  int i = 1, j = n;
  if (n % 2 == 0)
    while (n != 0) {
      cout << a[i] << " " << a[j] << " ";
      i++;
      j--;
      n -= 2;
    }
  else {
    while (n != 1) {
      cout << a[i] << " " << a[j] << " ";
      n -= 2;
      i++;
      j--;
    }
  }
  if (n == 1) cout << a[i];
  return 0;
}
