Recently Pappu saw a bunch of reviews on the “মহানগর ২” web series. With lots of curiosity, he started watching the first part. After finishing the first part he realized exam finals are approaching and he’s got huge tasks to complete. He is confused because he doesn’t want to stop watching the series as he wants to finish the second part too. As Pappu’s friend, it is your responsibility to help him decide.
Currently, Pappu has tasks to finish, numbered from to . Each task has a tag number represented by Pappu has a special attraction towards the last digit of any number. So, he wants to add up all the last digits of all tags. For example, if and task tags are , the last digits will be , correspondingly, their sum is .
He also has a favorite number . He said that he will only do all his tasks if the is a multiple of his favorite number . In other words, there must exist a non-negative integer such that, . Otherwise, he will just keep watching the series. From the above example the sum is and let’s say his favorite number is . Since is a multiple of , he will do his tasks.
Now, your task is to calculate the of the last digits of all the task numbers and determine if the is a multiple of his favorite number of .
The first line of the input contains two integers and separated by space — indicating the number of tasks and Pappu’s favorite number.
The second line of the test case contains n space-separated integers — indicating the tag number of each task.
If the of the last digits of the tasks is a multiple of , print “Finish all the tasks, including mine!” without quotations. If not then print “You can now watch the series!” without quotations.
Input | Output |
---|---|
3 7 23 4 100 | Finish all the tasks, including mine! |
Input | Output |
---|---|
5 3 67 33 90 21 9 | You can now watch the series! |
Be careful about the newline (‘\n’) at the end.