#include <bits/stdc++.h>
using namespace std;
const long long inf = 1e18;
const long long mod = 1e9 + 7;
const long long cs = 200005;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t, n, a, b, c, d, e, i, j, k;
  cin >> t;
  k = 0, i = 1, j = t;
  while (t--) {
    if (k == 0) {
      cout << i << " ";
      k = 1;
      i++;
    } else {
      cout << j << " ";
      k = 0;
      j--;
    }
  }
  return 0;
}
