#include using namespace std; int main(){ long long A,B; cin>>A>>B; int count=0; for(int i=A;i<=B;i++){ if((A+B+i)%3==0)count++; } cout<