#include <bits/stdc++.h>
using namespace std;
const long long inf = 1LL << 60;
long long toInt(string s) {
  long long res;
  stringstream ss;
  ss << s;
  ss >> res;
  return res;
}
int main(void) {
  long long n;
  cin >> n;
  for (long long i = (0); i < (n); ++i) {
    if (i % 2 == 0)
      cout << (i / 2 + 1) << " ";
    else
      cout << (n - i / 2) << " ";
  }
  cout << endl;
  return 0;
}
