#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  scanf("%d", &n);
  vector<int> vec(n);
  int s = 1, e = n;
  int temp = n / 2;
  int i = 0;
  while (temp--) {
    vec[i] = s++;
    vec[i + 1] = e--;
    i += 2;
  }
  if (n % 2) vec[n - 1] = s;
  for (int i = 0; i < n; i++) {
    if (i == n - 1)
      cout << vec[i] << endl;
    else
      cout << vec[i] << " ";
  }
  return 0;
}
