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

Example Input: [8431, 'L', 809, 'V', 3993, '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'T', 'O', 'o'], [9535, 4859, 4223, 9541, 8281, 'L', 'M', 'W', 'Q', '5725', 'g', '1797', '8531', 'i', '1975', 'Y', 'U', '2979', 'E', '9345', 'M', 7209, 7775, 'I', 'n', 'l', 7173, 'E', 'L', 'h']
Example Output: 5725, g, 1797, 8531, i, 1975, Y, U, 2979, E, 9345

Example Input: [225, 'D', 4905, 3065, 'e', 'I', 'V', 3599, 'D', 5851, 2675, 4601, 7721, 'B', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'U', 2673, 6825, 'r', 3045, 5503, 'L', 'y', 7333, 5693], [4873, 9897, 2905, 9917, 'Q', 7565, 'w', 6631, 3015, 'n', 's', 't', 9913, 'Q', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'p', 8733, 'o', 2341, 777, 'q', 's']
Example Output: W, 8579, 5823, j, o, A, x, 9525, 6535, 7653, r, 7807, o, h, 5139, 3941, T

Example Input: ['N', 8711, 'b', 'Q', '8907', '8263', 'Q', '5265', 'l', '1071', 'J', 'c', '2403', 'j', '103', 'b', '2917', 'L', 9185, 'n', 'L', 4607, 8619, 'a', 'U', 8331], ['W', 4089, 'n', 'S', 'h', '8907', '8263', 'Q', '5265', 'l', '1071', 'J', 'c', '2403', 'j', '103', 'b', '2917', 't', 167, 7627, 4543, 'a', 2935, 'p', 'o', 413, 2549, 'm', 'v']
Example Output:
8907, 8263, Q, 5265, l, 1071, J, c, 2403, j, 103, b, 2917