#include using namespace std; using ll = long long; #define rep(i,n) for(int i=0;i>A>>B; B%=3; if(B==0){ cout<<0<<" "<