#include <bits/stdc++.h>
using namespace std;
inline void In(long long _, ...) {
  va_list lis;
  va_start(lis, _);
  while (_--) scanf("%lld", va_arg(lis, long long*));
}
inline void Out(long long _, ...) {
  va_list lis;
  va_start(lis, _);
  while (_--) printf("%lld\n", va_arg(lis, long long));
}
inline void Out_(long long _, ...) {
  va_list lis;
  va_start(lis, _);
  while (_--) printf("%lld ", va_arg(lis, long long));
}
long long n;
int main() {
  In(1, &n);
  for (int(i) = (1); (i) <= (n >> 1); ++(i)) {
    Out_(2, (long long)i, n - i + 1);
  }
  if (n & 1) Out_(1, (n + 1) / 2);
}
