#include using namespace std; int Avg(int x,int y); int main(){ int x,y; cin>>x>>y; cout<<(Avg(x,y)+6)%12<