#include <bits/stdc++.h>
using namespace std;
float max(long long a, long long b) {
  if (a > b)
    return (float)a;
  else
    return (float)b;
}
int gcd(int x, int y) {
  if (y == 0) return x;
  return gcd(y, x % y);
}
int min(int a, int b) {
  if (a < b)
    return a;
  else
    return b;
}
long long solve(int a, int b, long long k) {
  long long lcm = (a * b) / gcd(a, b);
  int ans = k / lcm;
  return ans;
}
void solve() {}
int main() {
  int n, ans = 0;
  cin >> n;
  int k = 1, i = 1, j = n;
  while (n--) {
    if (k % 2)
      cout << i++ << " ";
    else
      cout << j-- << " ";
    k++;
  }
  return 0;
}
