In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 1021, 's', 1317, 3641, 'O', 'C', 847, 'N', 8535, 959, 'l', '5993', 'H', '7339', 'F', 'Y', 'x', 'n', '7029', '5503', 'v', '5125', 'X', '4485', '8043', 'V', '6027', 'T', '8967', 'Q', 5777, 5269, 1801, 'Z', 6729], [5041, 'V', 3353, 5339, 3789, 'K', 'V', 3005, 'h', 359, 2491, 'I', 3, 5777, 'P', 1195, 'l', '5993', 'H', '7339', 'F', 'Y', 'x', 'n', '7029', '5503', 'v', '5125', 'X', '4485', '8043', 'V', '6027', 'T', '8967', 'Y', 'G', 'S', 8601]