#include using namespace std; int a, b, c; int main() { cin >> a >> b >> c; cout << min(a, min(b, c)) << endl; }