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

Example Input: ['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']
Example Output: 8037, 2095

Example Input: ['l', 3279, 2027, 5827, 2313, 'v', 'T', 'O', 'E', 4721, 8305, 'D', 'l', 7653, 691, 8635, 9965, 1271, 'c', 'p', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'Z', 4211, 'r', 'a', 2311, 3909, 't', 'w', 9527, 'Z', 'A', 2927], [4809, 'D', 'B', 'w', 6325, 10019, 2381, 4757, 'f', 1485, 2737, 'B', 7953, 'v', 8565, 'f', '7861', 'j', 'Z', '1625', '4881', '4155', 'h', 'n', 'o', 'd', '3563', 'L', 'x', '9939', '3911', '4255', 'v', '1067', '3399', 'x', 'K', 'Q', 'd', 8559, 'p', 5259, 'o', 9663, 'j', 4891, 'm', 'C', 2501, 7067, 1463, 'U', 'p']
Example Output: 7861, j, Z, 1625, 4881, 4155, h, n, o, d, 3563, L, x, 9939, 3911, 4255, v, 1067, 3399, x

Example Input: [2843, 5183, 5995, 'K', 'u', 1335, '7277', '4825', '5063', 'X', 'C', 'm', '6991', '6373', '4743', 's', '7575', '5075', 'f', 'w', '8157', 'U', 'g', 'o', 'l', 9853], [9653, 'o', 'g', 7393, 'u', '7277', '4825', '5063', 'X', 'C', 'm', '6991', '6373', '4743', 's', '7575', '5075', 'f', 'w', '8157', 'U', 'W', 4831, 8431, 'P', 'x', 2421, 6635]
Example Output:
7277, 4825, 5063, X, C, m, 6991, 6373, 4743, s, 7575, 5075, f, w, 8157, U