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

Example Input: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
Example Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163

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: [8321, 2445, 'N', 6867, '983', 'i', 'G', '2029', '7271', '7019', 't', 'Q', 'T', '6685', '2149', '8961', 'E', 'q', 'Q', 5467, 't', 'F', 'S', 'a', 't', 2493, 'o'], [7871, 'C', 'T', 3977, 'I', 4799, 'L', 'q', 'C', 6475, 's', 'n', '983', 'i', 'G', '2029', '7271', '7019', 't', 'Q', 'T', '6685', '2149', '8961', 'F', 8833, 1123, 't']
Example Output:
983, i, G, 2029, 7271, 7019, t, Q, T, 6685, 2149, 8961