#include #include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ std::ios::sync_with_stdio(false); std::cin.tie(nullptr); size_t N; std::cin >> N; std::vector cals{}; for(size_t n{0}; n> x; cals.emplace_back(x); } auto sortVal = [](const uint64_t x1, const uint64_t x2) { return x2