The lock is numbered from 0 to 49. Each combination uses three numbers in a right, left, right pattern. Find the total number of possible combinations for the lock