#838. Day of the year
You get a month and a day of a non-leap year. Use a function `day_of_year(m, d)` to find which day of the year it is.
### Input
One line: m d.
### Output
A number.
Examples
Input
11 8
Output
312
Input
10 22
Output
295
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.