#define I inline #define ll long long #define pb push_back #define MP make_pair #define ull unsigned long long #define PII pair<int , int> #define PIL pair<int , long long> #define PSL pair<string , long long> #define PLL pair<long long , long long> #define all(x) (x).begin() , (x).end() #define copy(a , b) memcpy(a , b , sizeof(b)) #define clean(a , b) memset(a , b , sizeof(a)) #define rep(i , l , r) for (int i = (l); i <= (r); i ++) #define per(i , r , l) for (int i = (r); i >= (l); i --) #define PE(i , x) for(int i = head[x]; i; i = edge[i].last) #define DEBUG(x) std :: cerr << #x << '=' << x << std :: endl
usingnamespacestd;
constint N = 10001; constint M = 100001; constint HA = 998244353; constint INF = 2147483647; constlonglong INFL = 9223372036854775807;
char s1[155] , s2[155]; int f[155][155] , g[155];
//f[i][j] 将空串A的 i 到 j 位刷的与B相同所需要的最少次数 //g[i] A从 1 到 i 位与B从 1 到 i 位相同所需要的最少次数