I am a number less than 3000 when you divide me by 30 to my remainder is 30 when you divide me by 58 my remainder is 40 what number am I