Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [2451, 2693, 'A', 1285, 'u', 'n', 'A', 'c', 3745, 1729, 'I', 7837, 'U', 'D', 'E', 'Y', 'Y', 'A', '459', '1241', 'I', '8665', '3941', 'j', 't', 'Y', '3367', 'J', '7997', 'N', '3991', '2531', '3667', 'V', 'w', 'T', 'u', '4613', '1783', 'A', 'S', 'n', 'm', 7295, 'd', 8557, 'T', 'K', 9873, 4535, 'z', 9607, 681, 'H', 4691, 'd', 3401], ['L', 3945, 1225, 'Q', 'B', 'p', 2725, 'W', 'J', 9257, 'e', 2297, 'G', 'd', 3139, 7801, 6013, 'P', 'z', 8659, 7361, 'w', 'E', 'Y', 'Y', 'A', '459', '1241', 'I', '8665', '3941', 'j', 't', 'Y', '3367', 'J', '7997', 'N', '3991', '2531', '3667', 'V', 'w', 'T', 'u', '4613', '1783', 'A', 'S', 'g', 3039, 'l', 2363, 8331]
Output:
E, Y, Y, A, 459, 1241, I, 8665, 3941, j, t, Y, 3367, J, 7997, N, 3991, 2531, 3667, V, w, T, u, 4613, 1783, A, S