Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['E', 9017, 'A', 'u', 9487, 9473, 'q', 7727, 'y', 9491, 2595, 'O', 'X', 'X', 'g', 'V', '5033', 'e', '9409', '6381', '507', 'W', '8847', '8651', 't', 'u', 'i', 'E', 'k', 'l', 'V', 'X', '3513', '5841', '5675', 'C', '8297', 'N', 9713, 'x'], [4129, 3019, 8771, 'E', 3219, 5611, 'b', 3121, 's', 'L', 15, 'y', 5505, 5551, 'V', 'I', 'm', 'h', 'V', '5033', 'e', '9409', '6381', '507', 'W', '8847', '8651', 't', 'u', 'i', 'E', 'k', 'l', 'V', 'X', '3513', '5841', '5675', 'C', '8297', 'A', 'A']
Output:
V, 5033, e, 9409, 6381, 507, W, 8847, 8651, t, u, i, E, k, l, V, X, 3513, 5841, 5675, C, 8297