A number is such that 60 % of its 40 % is 504. Square of the number is