Var a, b, c, min: integer;
Begin
Readln(a, b, c);
Min:=a;
If b<min and b<c then min:=b
Else c<min and c<b then min:=c;
Writeln(min)
End.
Var a, b, c, min: integer;
Begin
Readln(a, b, c);
Min:=a;
If b<min and b<c then min:=b
Else c<min and c<b then min:=c;
Writeln(min)
End.