#include <numeric/types.hh>
#include <utility/exit.hh>
#include <math.h>
#include <numeric>
#include <algorithm>
#include <functional>