PROGRAMMING:Light a candle
In one country, seven days are celebrated at home after a newborn is born, and candles are lit every night. The first night, light a candle, the second night, light two candles,..., the seventh night, light seven candles. In addition, an extra candle is lit every evening (in fact, this candle is used to light other candles). So 35 candles are needed throughout the celebration.
If the days of celebration change, how many candles do you need?
###Input format:
The first line of input is a positive integer P (1 = < p < = 10000), followed by p lines of data. Each line includes two positive integers K, n (1 = < K, n < = 10000) separated by spaces, where k is the number of this group of data and N is the number of days to celebrate.
###Output format:
For each group of data with only one line output, first output the number k of this group of data, and then output the number of candles that need to be lit to celebrate n days, with a space in the middle.
###Input example:
```in
three
1 7
2 1
3 10
```
###Output example:
```out
1 35
2 2
3 65
```
answer:If there is no answer, please comment
If the days of celebration change, how many candles do you need?
###Input format:
The first line of input is a positive integer P (1 = < p < = 10000), followed by p lines of data. Each line includes two positive integers K, n (1 = < K, n < = 10000) separated by spaces, where k is the number of this group of data and N is the number of days to celebrate.
###Output format:
For each group of data with only one line output, first output the number k of this group of data, and then output the number of candles that need to be lit to celebrate n days, with a space in the middle.
###Input example:
```in
three
1 7
2 1
3 10
```
###Output example:
```out
1 35
2 2
3 65
```
answer:If there is no answer, please comment