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

Example Input: ['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']
Example Output: 6499, 3029, 5963, P, 9959, 2345, 1265, 8097, 4181, r, t, X, s, l, p, F, 1107, 8395, A, 1351, G, G, G, 3113, q

Example Input: [1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]
Example Output: 3885, y, 2105, 1495, 417

Example Input: [5153, 7125, 9647, 2847, 9811, 'f', 3121, 'V', 'Y', 'K', 4957, 3981, 173, 5907, '4931', 'z', '3375', '4907', 'z', 'z', 'Z', '5921', '3617', 'y', '5145', '3711', 'y', 'F', '5627', 'n', 'f', 6037, 1013, 3087, 6859, 7881, 'h', 8065, 'h'], ['m', 3573, 'q', 'X', 'j', 1005, 1615, 'e', 'm', 's', 'Q', '4931', 'z', '3375', '4907', 'z', 'z', 'Z', '5921', '3617', 'y', '5145', '3711', 'y', 'F', '5627', 'c', 'A', 4665, 't', 'U', 'C', 9765, 'H', 5857, 'o', 4713, 'n', 'C', 4719]
Example Output:
4931, z, 3375, 4907, z, z, Z, 5921, 3617, y, 5145, 3711, y, F, 5627