#include <bits/stdc++.h>
namespace solution {}
namespace solution {
class ISolution {
 public:
  virtual void init(){};
  virtual bool input() { return false; };
  virtual void output(){};
  virtual int run() = 0;
};
}  // namespace solution
namespace solution {
using namespace std;
const int SIZE = 256;
int n, m;
int A[SIZE];
int f() {
  int res = accumulate(A, A + m, 0);
  for (int i = 0; i < 900; ++i) {
    random_shuffle(A, A + m);
    for (int j = 0; j < n; ++j) {
      A[j] *= -1;
    }
    for (int j = 0; j < 300; ++j) {
      sort(A, A + m);
      res = max(res, accumulate(A, A + m, 0));
      for (int k = 0; k < n; ++k) A[k] *= -1;
      res = max(res, accumulate(A, A + m, 0));
    }
  }
  return res;
}
int solve() {
  m = 2 * n - 1;
  return f();
}
class Solution : public ISolution {
 public:
  bool input() {
    if (!(cin >> n)) return false;
    for (int i = 0; i < 2 * n - 1; ++i) cin >> A[i];
    return true;
  }
  void output(int result) { cout << result << endl; }
  int run() {
    while (init(), input()) {
      output(solve());
    }
    return 0;
  }
};
}  // namespace solution
int main() { return solution::Solution().run(); }
