Question 3The eight-digit number $\overline{1287 a 45 b}$ is divisible by 18, where the digits $ a $ and $ b $ are different. What is $ b $ when this number is as small as possible?