In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example Input: [2165, 'A', 'L', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'c', 4715, 'w', 3191, 'Q', 2951, 3303], [1387, 2063, 'm', 'k', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'o', 9521, 1539, 'e', 6687, 6805]
Example Output: 6045, 1245, Y, t, M, y, 1889, H, C, 8175

Example Input: ['p', 'C', 6777, 'P', 'd', 4619, 'l', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'U', 'C', 'G', 'm'], ['U', 5295, 'O', 'F', '4333', '9491', 'V', '5745', 'P', '9255', '9439', '8461', 'D', 'L', 'w', 'R', 'W', 'C', 'I', 'K', 5891]
Example Output: 4333, 9491, V, 5745, P, 9255, 9439, 8461, D, L, w, R

Example Input: ['i', 'Y', 'v', 'r', 'h', '5531', '9703', 'A', '4963', '7761', 'Y', 'F', 'F', 'i', 't', 'P', 2453], [1513, 5035, 'm', 'n', 'A', 'W', '5531', '9703', 'A', '4963', '7761', 'Y', 'F', 'F', 'i', 'A', 4421, 'C', 6701, 'i', 'z', 7561, 4397, 'I']
Example Output:
5531, 9703, A, 4963, 7761, Y, F, F, i