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