#include using namespace std; const int INF=1e9; template inline bool chmin(T &a,T b){ if (a>b){a=b; return true;} return false; } int main(){ cin.tie(0); ios::sync_with_stdio(false); string S,T; cin >> S >> T; int s=S.size(),t=T.size(); vector> dp(s+1,vector(t,INF)); dp[0][0]=0; for (int i=0;i