R A newer version of a board game is becoming highly popular in the town of Whales. This game board has neither a snake nor a ladder but only a grid of 8 x 8 unit squares. The game can be started from the bottom-most left square from where one can take steps only in the direction of East or North. Two dice are rolled simultaneously between which one die returns the direction in which the coin has to be moved and the other die returns the number of steps to be taken by the coin. The dice can be rolled as many times as a person wishes for. At the end of the game, the participant is given an amount for which the total number of steps travelled in the direction of East is multiplied with itself a number of times which is equal to the number of steps travelled in the direction of North. Given the total number of steps taken in each of these directions, write a program to calculate the amount to be rewarded. Input Format: The input consists of two integers. The first number is the number of steps taken in the East direction. The second number is the number of steps taken in the North direction. Output Format: The output consists of one Integer. Sample Input 1: 2 8 Sample Output 1: CA
Answers
Answered by
2
Never gonna give you up never gonna let you down
by rick roll astley
Similar questions