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

Example Input: ['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]
Example Output: r, l, N, J, 7029, l, m

Example Input: [7491, 'w', 'F', 2929, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'X', 'n', 821, 1983, 'S', 6305, 'O', 6533, 'q', 901, 'U', 2911], [3143, 1605, 4373, 'T', 7055, '6969', '2729', '4371', '6153', 'a', 'r', 'y', 'h', 'y', 'g', 'C', '1381', '5801', '8697', '4093', 'r', 'Z', 943, 861, 8883, 'b', 'n', 3409, 8943, 'M']
Example Output: 6969, 2729, 4371, 6153, a, r, y, h, y, g, C, 1381, 5801, 8697, 4093

Example Input: [9945, 'B', 'P', 1687, 1255, 'E', 769, 2539, 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'G', 'w', 'E', 'G'], [1097, 3119, 'V', 'i', 'v', 'W', '9795', 'y', '1335', 'H', '999', '5451', 'V', '1087', 'e', 'H', '7027', '7313', 'v', '1101', 'j', 'Q', '2191', '8039', '1239', 'I', 'S', 'M', 'P', '4387', '4795', 'X', 'l', 'O', 7411, 'y', 'H', 7657, 2977, 'T', 'R', 265, 6097, 'g', 'a', 'R', 3391, 'd', 6175, 'm', 143, 4285, 5701, 2557, 'f']
Example Output:
W, 9795, y, 1335, H, 999, 5451, V, 1087, e, H, 7027, 7313, v, 1101, j, Q, 2191, 8039, 1239, I, S, M, P, 4387, 4795, X, l