Solution of equations in integers by Gelfond