#include <bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, c = 1, b = -1;
  cin >> n;
  for (int i = n; i > 0; b *= -1, c = c + --i * b) cout << c << ' ';
  return 0;
}
