A lock is numbered from 0-49. Each combination uses three numbers in a right, left, right pattern. What is the total number of possible combinations for the lock?