#include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
  int A,B,C;
  cin>>A>>B>>C;
  cout<<min(A,min(B,C))<<endl;
}