#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
long long binpow(long long a, long long b) {
  long long res = 1;
  while (b) {
    if (b & 1) res *= a;
    a *= a;
    b >>= 1;
  }
  return res;
}
long long modpow(long long a, long long b) {
  long long res = 1;
  while (b) {
    if (b & 1) {
      res = (res * a) % mod;
    }
    a = (a * a) % mod;
    b >>= 1;
  }
  return res % mod;
}
long long sti(string s) {
  long long res = 0;
  for (long long i = 0; i < (long long)s.length(); ++i) {
    res *= 10;
    res += (s[i] - '0');
  }
  return res;
}
signed main() {
  ios_base::sync_with_stdio(false);
  long long n;
  cin >> n;
  for (long long i = 1; i <= (n - 1) / 2 + 1; ++i) {
    if (i == n - i + 1)
      cout << i << " ";
    else
      cout << i << " " << n - i + 1 << " ";
  }
}
