#include #include using namespace std; float N,M; double ans; int main(){ //ios::sync_with_stdio(false); cin>>M>>N; ans=M+(N/3); printf("%.10lf",ans); }