#!/usr/bin/env ruby min = 1.0/0 while line = STDIN.gets v = line.strip.to_f min = v if v < min end puts min