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

Example Input: ['j', 'p', 'D', 9209, 'f', 1443, 'z', 'U', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'Z', 9799, 9741, 'i', 'V', 'b', 'V'], ['G', 6339, 'X', 5119, 'J', 7027, 983, 'G', 'y', 9973, 'c', 'o', 'B', 'J', 3491, 203, 2983, 'G', 9139, 'J', 789, 7833, 'F', '2781', '2633', 'p', 'o', 'H', 'L', 'g', '9879', '1659', '2721', 'Y', '4045', '2453', 'S', 'H', 'm', 'X', '6465', 'u', 'f', 'P', 'h', '4585', '2353', 'P', 'u', 'u', 5483, 'P', 2187, 6807, 'T', 'F', 'h', 4425, 's', 'P', 7479, 9675, 3149, 'X', 5605, 8475, 8771, 9483, 3901, 'Y']
Example Output: 2781, 2633, p, o, H, L, g, 9879, 1659, 2721, Y, 4045, 2453, S, H, m, X, 6465, u, f, P, h, 4585, 2353

Example Input: [1379, 'n', 1525, 'Y', 'A', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'd', 8015, 10007, 'R', 'K', 'n', 'o', 'U', 3049], ['k', 379, 'M', 'M', 'a', '9043', '2335', '5029', 'f', 'b', '7547', '4275', 'R', 'H', 'q', 'v', 7549]
Example Output: 9043, 2335, 5029, f, b, 7547, 4275, R, H

Example Input: [8229, 'L', 'S', '7139', 'Q', 'A'], ['H', 4181, 'S', '7139', 'J', 2483]
Example Output:
S, 7139