A 3 digit number is such that twice the hundreds digit is more than the tens digit by 2.The digit is thrice the hundreds digit.When the digits are reversed, the number is increased by 594.Find the number.