Our author again made several mistakes.
Try to find and fix them.
Sample Input 1:
Sample Output 1:
45
Create a free account to access the full topic