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

Example Input: [3659, 'D', 'P', 'K', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 'y', 6631, 2281, 6607], [3101, 7057, 'N', 7065, 'X', 'r', 'n', 2803, 'G', 'v', '7241', 'V', 'p', 'i', '6013', 'X', 'C', '8145', 'Y', '2517', 'z', 's', 5293, 'F', 1371, 4459, 6983, 'R', 'X']
Example Output: 7241, V, p, i, 6013, X, C, 8145, Y, 2517, z

Example Input: [5701, 'Y', 2511, 4707, 'i', 9083, 1187, '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'X', 8863, 7467, 665, 3485, 4035, 'g', 8795], [189, 8331, 'N', 'S', 'U', '749', 'v', 'i', 'f', 'j', '5983', '4221', 'p', 'q', '8703', 'n', 'Z', 'O', 'A', 'H', 'R', 't', 9581, 5575, 'Q', 'Q', 1209]
Example Output: 749, v, i, f, j, 5983, 4221, p, q, 8703, n, Z, O, A, H

Example Input: [6635, 'B', 'N', 's', 'D', 'd', '7379', 'q', '21', '9669', '4189', '7963', 'e', '2921', 'p', 'P', 'P', 'E', 8511, 's', 1583, 'L', 741, 9087], ['Z', 5895, 3389, 'm', '7379', 'q', '21', '9669', '4189', '7963', 'e', '2921', 'p', 'P', 'q', 1147, 'B']
Example Output:
7379, q, 21, 9669, 4189, 7963, e, 2921, p, P