Statement | You are given S contains only '0', '1' and '2'. Output "yes" if S contains "2021" as its subsequence, "no" otherwise. # Multiple testcases You are given T testcases separated by ':' in this problem. Constraints * 1 ≤ |S| ≤ 15 * 1 ≤ T ≤ 5 |
---|---|
Sample Input | |
Sample Output |