// Online C++ compiler to run C++ program online
#include <iostream>
using namespace std;
int main() {
int a[3];
cin >> a[0] >> a[1] >> a[2];
int min;
for (int i = 0; i < 3; ++i) {
if (i == 0 || min > a[i]) {
min = a[i];
}
}
cout << min;
return 0;
}
Ly8gT25saW5lIEMrKyBjb21waWxlciB0byBydW4gQysrIHByb2dyYW0gb25saW5lCiNpbmNsdWRlIDxpb3N0cmVhbT4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkgewogICAgaW50IGFbM107CiAgICBjaW4gPj4gYVswXSA+PiBhWzFdID4+IGFbMl07CiAgICBpbnQgbWluOwogICAgZm9yIChpbnQgaSA9IDA7IGkgPCAzOyArK2kpIHsKICAgICAgICBpZiAoaSA9PSAwIHx8IG1pbiA+IGFbaV0pIHsKICAgICAgICAgICAgbWluID0gYVtpXTsKICAgICAgICB9CiAgICB9CiAgICBjb3V0IDw8IG1pbjsKICAgIHJldHVybiAwOwp9