Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [4691, 'U', 9071, 3563, 8895, 1123, 'Z', 'a', 'w', 'K', 'W', '3731', 'f', 'L', '2841', 'G', '7045', '1975', '5183', 'Q', 'o', 'L', 7421, 7625], [7037, 'n', 5543, 5217, 2043, 'Z', 'a', 'w', 'K', 'W', '3731', 'f', 'L', '2841', 'G', '7045', '1975', '5183', 'Q', 'Q', 3177, 'l']
Output:
Z, a, w, K, W, 3731, f, L, 2841, G, 7045, 1975, 5183, Q