Three-fifths of a number is 75% of 508. What is the number.