#include <cmath> #include <cstdio> #include <vector> #include <iostream> #include <algorithm> using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ cout << 10 << endl << 0 << endl << 6 << endl << 14258; return 0; }