#include int main() { return printf("8\n18\n"),0; }