Andrey Kim's submission of Subsequence Equality | CodeChef