Problem 1546 is solved by gauss elimination method