#include <bits/stdc++.h>
using namespace std;
bool vis[10010];
int main() {
  int n;
  cin >> n;
  int t = 1;
  cout << t << " ";
  vis[1] = true;
  for (int i = n - 1; i >= 1; i--) {
    if (!vis[t + i] && t + i <= n) {
      cout << (t = t + i) << " ";
    } else {
      cout << (t = t - i) << " ";
    }
    vis[t] = 1;
  }
  cout << endl;
  return 0;
}
