N is an even 3-digit number such that the last 3 digits of N*N are N itself. What is the value of N?