Try to run it with the following input:- 1 2 3 , it will return 1
Try to run it with the following input:-
1 2 3
, it will return 1