#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1000000007;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int n, x = 1;
  cin >> n;
  long long int d = n - 1;
  long long int dir = 0;
  cout << 1 << " ";
  while (d > 0) {
    if (dir == 1) {
      x -= d;
      cout << x << " ";
      dir = 0;
    } else {
      x += d;
      cout << x << " ";
      dir = 1;
    }
    d--;
  }
  return 0;
}
