#include <bits/stdc++.h>
using namespace std;
const int N = 1e4 + 5, INF = 1e9 + 7;
int n, l, r;
int a[N];
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> n;
  l = 1;
  r = n;
  for (int i = 1; i <= n; ++i) {
    if (i % 2 != 0)
      a[i] = l, l++;
    else
      a[i] = r, r--;
  }
  for (int i = 1; i <= n; ++i) {
    cout << a[i] << " ";
  }
}
