In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['S', 9665, 1263, 7245, '2019', '619', '2443', '5733', 'Y', '793', '2277', 'n', 'J'], [557, 7159, 'W', 3737, 'e', 415, '2019', '619', '2443', '5733', 'Y', '793', '2277', 'q', 3657]