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

Example Input: ['n', 'D', 'w', 3835, 'T', 'B', 677, 'V', 'K', 'C', 2925, 'K', 'm', 1053, 'f', 4037, 7659, '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'g', 9107, 'A', 'T', 'W', 'A', 'j', 'f', 'v', 9021, 'j', 't', 'B', 8145, 'H', 3749], [949, 5165, 1491, 2995, 6041, 'd', 8225, 3907, 483, 7773, 'E', 105, 4839, 4595, 'y', 10009, 'M', 2851, 9681, 5135, 9105, 4887, 9939, 'N', 'k', 'h', '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'R', 'E', 'x', 6219, 7421, 'y', 4757, 9359, 'P', 5909, 7819, 3069, 6985, 9497, 2897, 5345, 8961, 3143, 9975]
Example Output: 65, 9985, 867, F, 8953, t, Q, 4985, G, 4695, 1083, 6045, 1075, 5633, 8053, 1711, W, n, N, x, P, g, Y, j, 6411, x, n, 8627, y

Example Input: ['K', 9673, 1909, 4297, 4479, 6817, 4899, 'C', 6959, 'V', '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'a', 'M', 'n', 6241, 'm'], ['x', 2703, 'G', 'g', 6139, 369, 'M', 2263, 1539, 8497, '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'X', 171, 2305, 2887, 'x', 'M', 557, 9003, 'H', 'V', 'B', 7409]
Example Output: 9807, 5503, 4787, 8401, 1975, c, 3357, O, 2117, V, W, 223, n, 7837, J, 7137, 4965, O, 9937

Example Input: ['L', 'U', 7973, 'w', 'U', '5687', '7089', '7225', 't', '4623', '4019', 'Y', 'r', 'j', 'a', '2031', 'L', '5401', '143', 'E', 5489, 237], [337, 'z', 4259, 'H', 'T', 'X', 'R', 929, 8173, 1425, 'U', '5687', '7089', '7225', 't', '4623', '4019', 'Y', 'r', 'j', 'a', '2031', 'L', '5401', '143', 'C', 'U', 549, 'Z', 8167, 'M', 'e', 1749, 2909, 'U', 2321]
Example Output:
U, 5687, 7089, 7225, t, 4623, 4019, Y, r, j, a, 2031, L, 5401, 143