On non-weekend days (Monday to Friday), Marisa eats a mushroom each day. Marisa starts eating mushrooms on day $x$. Determine how many mushrooms Marisa has eaten after $y$ days.
### Input
- A single line containing two integers $x$ and $y$.
### Output
- Print the number of mushrooms Marisa has eaten.
### Constraints
- $2 \le x \le 8$ where $x=8$ corresponds to Sunday.
- $1 \le y \le 10^6$.
### Example
Input:
```
6 5
```
Output:
```
3
```