#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, i, j;
  cin >> n;
  i = 1;
  j = n;
  while (j >= i) {
    if (i != j)
      cout << i << " " << j << " ";
    else
      cout << i << " ";
    i++;
    j--;
  }
  cout << endl;
}
