#include using namespace std; int main() { // your code goes here int a,b,c; cin >> a >> b >> c; cout << min(a,min(b,c)) << endl; return 0; }