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

Example Input: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
Example Output: A, g, 6735, 6737, 6929, 3051, v, 1223, 497

Example Input: ['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]
Example Output: q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P

Example Input: ['H', 'I', 7219, 4647, 'h', 9515, 'x', 'k', 6703, 't', 'D', '9537', 'F', '15', 'q', 'x', '8319', '4981', '6187', '511', '4079', 'm', 'i', 7617, 'o', 'd', 2715, 'U'], [1005, 'X', 23, 8153, 'K', 'C', 1027, 'D', '9537', 'F', '15', 'q', 'x', '8319', '4981', '6187', '511', '4079', 'm', 'b', 'G', 'U', 2123, 'x', 3655, 'm']
Example Output:
D, 9537, F, 15, q, x, 8319, 4981, 6187, 511, 4079, m