#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j;
  cin >> n;
  int l = 1, r = n, flag = 1;
  if (n == 1) return cout << "1\n" << endl, 0;
  while (l < r) {
    if (flag) {
      if (l != 1)
        printf(" %d", l);
      else
        printf("%d", l);
      flag = 0;
      l++;
    } else {
      printf(" %d", r);
      r--;
      flag = 1;
    }
  }
  if (l == r) printf(" %d", l);
  printf("\n");
  return 0;
}
