A number \( N \) is divisible by both 5 and 11. If \( N \) is a 4-digit number and its digits are distinct, what is the smallest possible value of \( N \)? Let's think step by step and output the final answer within \boxed{}.
user