Problem B - Maximum Element Input: The first line contains integer n. The second line contains n integers. Output: The maximum value among the given integers.