Downvoted for losing codegolf.Ruby, 11 bytes $><<$<.min Input: 3\n10 Output: 10Pretty sure I score double points for readability
Downvoted for losing codegolf.
Ruby, 11 bytes
$><<$<.min
Input: 3\n10 Output: 10Pretty sure I score double points for readability