In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 8439, 3027, 'H', '8815', '4315', 'S', '9997', 's', 'n', 'q', '9847', '5429', 'y', 'G', 't', 'Y', 'm'], ['n', 9185, 'Z', 3041, 'H', '8815', '4315', 'S', '9997', 's', 'n', 'q', '9847', '5429', 'y', 'G', 't', 'F', 5929, 'm', 4783, 'N', 929, 8451, 't', 85, 'G', 5927]