#K47702. Find the Largest Integer
Find the Largest Integer
Find the Largest Integer
You are given a single line of input containing a space-separated list of integers. Your task is to determine and output the largest integer from the list.
Note that the list may contain both positive and negative numbers, and your program should correctly handle any valid input.
Formally, given a string ( s ) representing numbers separated by spaces, find ( \max{a_1, a_2, \dots, a_n} ), where each ( a_i ) is an integer.
inputFormat
The input consists of a single line containing space-separated integers.
outputFormat
Output a single integer, which is the largest integer among the provided numbers.## sample
5
5