import java.util.Scanner;
class MenorValorSequencia {
public static void main
(String args
[]) { Scanner sc
= new Scanner
(System.
in); int[] variavel = new int[10];
for (int i = 0; i <= 9; i++) {
variavel[i] = sc.nextInt();
}
int menorValor
= Integer.
MAX_VALUE; for (int i = 0; i <= 9; i++) {
if (variavel[i] < menorValor) {
menorValor = variavel[i];
}
}
System.
out.
println(menorValor
); }
}
aW1wb3J0IGphdmEudXRpbC5TY2FubmVyOwoKY2xhc3MgTWVub3JWYWxvclNlcXVlbmNpYSB7CiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmcgYXJnc1tdKSB7CgkgICAgU2Nhbm5lciBzYyA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CgkgICAgaW50W10gdmFyaWF2ZWwgPSBuZXcgaW50WzEwXTsKCSAgICBmb3IgKGludCBpID0gMDsgaSA8PSA5OyBpKyspIHsKCQkgICAgdmFyaWF2ZWxbaV0gPSBzYy5uZXh0SW50KCk7CgkgICAgfQoJICAgIGludCBtZW5vclZhbG9yID0gSW50ZWdlci5NQVhfVkFMVUU7CgkgICAgZm9yIChpbnQgaSA9IDA7IGkgPD0gOTsgaSsrKSB7CgkgICAgICAgIGlmICh2YXJpYXZlbFtpXSA8IG1lbm9yVmFsb3IpIHsKCSAgICAgICAgICAgIG1lbm9yVmFsb3IgPSB2YXJpYXZlbFtpXTsKCSAgICAgICAgfQogICAgICAgIH0KICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4obWVub3JWYWxvcik7CiAgICB9Cn0=