#include<iostream> #include<cstdio> using namespace std; int main() { int a,b; cin>>a>>b; int c=b/a/3+b/a; cout<<c; return 0; }