5 4 15 1 1 10 1 1 1 10 1 4 23 1 1 10 1 1 1 10 1 6 40 2 3 7 2 3 5 11 3 6 30 2 3 7 2 3 5 11 3 500000 1000000000 1 48 9918679 4234919 1 3 8250368 4517876