A six-digit number starts with the digit 1. If this digit is relocated to the rightmost position, the number becomes 3 times bigger. What is the number?