find the maximum without using compare operations and if-else