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

Example Input: ['U', 2021, 9935, '873', 'T', '9883', 'y', 8789, 'v'], ['g', 7321, '873', 'T', '9883', 'p', 9721]
Example Output: 873, T, 9883

Example Input: [3323, 'G', 'k', 9183, 't', 9885, 3767, 'D', 'u', 'C', 'O', '9231', 's', 'd', '3497', '6063', 'Z', 'S', '2799', 'u', '2777', '8507', 'G', 'j', 'z', 'B', 'F', 't', '5527', '8931', 'r', '10029', '7305', 'H', 't', 7899, 'F'], ['h', 'E', 4401, 'C', 1267, 1175, 2939, 'g', 'n', 'm', 'u', 'C', 'O', '9231', 's', 'd', '3497', '6063', 'Z', 'S', '2799', 'u', '2777', '8507', 'G', 'j', 'z', 'B', 'F', 't', '5527', '8931', 'r', '10029', '7305', 'H', 'q', 4957, 6929, 6135, 'M', 1875, 4101, 'L', 9477, 'Q', 'Z', 1039, 'A', 4355, 'l', 'w', 's', 4485, 'L', 6895, 753, 'm', 1205, 'V', 821, 8801]
Example Output: u, C, O, 9231, s, d, 3497, 6063, Z, S, 2799, u, 2777, 8507, G, j, z, B, F, t, 5527, 8931, r, 10029, 7305, H

Example Input: ['Q', 'T', 6451, 's', 1077, 's', 4181, 429, '5405', '6625', '8369', 'X', '937', 'R', '5975', '5901', 'D', '4491', 'E', '4257', 'h', '3653', '9221', 'C', '4251', '5739', '2855', '7685', '479', '2013', 'c', '7801', 'H', 'W', '5499', '6453', 'S', 'l', 9589, 719, 9801, 3075, 9803, 'U', 'c', 2487, 'y', 6141, 'd', 1143, 5913, 1233, 's', 6185, 2315, 779, 4681, 51, 7807, 2781, 'C', 7245, 3673], [7547, 8737, 1311, 4627, 'E', 'c', '5405', '6625', '8369', 'X', '937', 'R', '5975', '5901', 'D', '4491', 'E', '4257', 'h', '3653', '9221', 'C', '4251', '5739', '2855', '7685', '479', '2013', 'c', '7801', 'H', 'W', '5499', '6453', 'S', 'C', 8195, 3127, 'h', 'x', 'O', 'z', 'e', 'q', 895, 'B', 'z', 6815, 'M', 673, 'q', 'L', 'e', 'm', 'Z']
Example Output:
5405, 6625, 8369, X, 937, R, 5975, 5901, D, 4491, E, 4257, h, 3653, 9221, C, 4251, 5739, 2855, 7685, 479, 2013, c, 7801, H, W, 5499, 6453, S