Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [4639, 5723, 'Q', 2449, 2739, 8271, 2591, 'n', 'N', 'l', '1125', '4393', '7727', 'a', '6635', 'E', 'W', '6549', '2063', '4549', 'd', 'V', '6253', '8875', '1995', 'W', 'z', 'B', 'r', 'm', 4819, 'O', 'd', 6547, 9079], ['H', 423, 3099, 733, 'N', 'l', '1125', '4393', '7727', 'a', '6635', 'E', 'W', '6549', '2063', '4549', 'd', 'V', '6253', '8875', '1995', 't', 'u', 's', 'd', 2281, 8583, 'w', 6587, 'O', 'M', 7229, 'u']
Output:
N, l, 1125, 4393, 7727, a, 6635, E, W, 6549, 2063, 4549, d, V, 6253, 8875, 1995