#include using namespace std; int dp[20][10][10][2]; int main() { int A,B; cin >> A >> B; for(int i=0;i