import java.io.*; import java.util.*; import java.text.*; import java.math.*; import java.util.regex.*; public class Solution { private static void solve(String s,String hack){ int currentPosition = -1; for(int i=0;i=s.length()-1 && i