Read N integers into a list and print the maximum value.
Input:
- First line: N
- Second line: N space-separated integers
Output: Maximum value in the list
You can use Python's built-in max() function or a loop.
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
##### ###### ##### ### # # ### # # ###### ## ## ## ## ## ## ## # # # # # ## ##### #### ##### # # # # # # # #### ## # ## ## ## ## # # # # # ## ## # ###### ## ### # ### # ######
Max in list
Read N integers into a list and print the maximum value.
Input:
Output: Maximum value in the list
You can use Python's built-in max() function or a loop.