In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 9091, 'B', 9907, 'Y', 'E', 2051, 5561, 'N', 'X', 'h', 'x', 'W', 'J', 'I', 'k', 6113, 'q', '457', '2211', '9727', '2199', 'd', '3859', 'B', '2677', 'z', 'Y', 'q', '7553', 'i', 'J', 'f', 'n', '5709', 'S', 'g', 'n', 'm', 8905, 'Z', 2533], [2985, 'H', 'q', '457', '2211', '9727', '2199', 'd', '3859', 'B', '2677', 'z', 'Y', 'q', '7553', 'i', 'J', 'f', 'n', '5709', 'S', 'b', 'w', 'Q', 3409, 9059, 'J', 'L', 'f', 'D', 'y', 7937, 6357, 'T', 'S', 7807, 'c', 803, 'l', 'M']