Foot emulated method, another solution for Subsequence