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

Ex Input:
[5023, 1633, 6863, 9693, 'p', 3961, 7873, 'O', 'w', 'Y', 'T', 'r', 'H', 7385, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'R', 'g', 6665, 'F', 'X', 'v', 5013, 'X', 'Z', 8567, 'j', 'z', 'S', 3365, 6011, 't', 879], [149, 841, 'w', 9105, 6917, 'M', 'M', 'A', 'o', 'b', 4001, '715', 'Q', '4937', 'Z', 'L', '2393', '9021', '7407', '3597', '4273', 'f', '7643', 'J', '2705', 'w', 'i', '3093', 'p', 'E', '4203', '6371', '5797', 'a', '2223', 'T', 'I', '989', '4313', 'D', 'i', 9469, 1355, 7537, 6121, 'I', 9551, 'o', 'u', 'F', 't', 2395, 'K', 9727, 395, 8717, 'z', 'F', 6785, 'i', 'D', 'n', 9731, 103]

Ex Output:
715, Q, 4937, Z, L, 2393, 9021, 7407, 3597, 4273, f, 7643, J, 2705, w, i, 3093, p, E, 4203, 6371, 5797, a, 2223, T, I, 989, 4313


Ex 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]

Ex 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


Ex Input:
[5009, 'C', 'd', 3605, 'U', 5759, 1497, 7407, 9893, 3003, 5063, 'P', 4039, 'H', 8891, 8013, 'H', 9275, 'R', 'C', 'I', '5545', '4907', '8539', 'l', '8481', 'A', '1027', '509', '6539', 'E', 'O', 'F', 'S', '2705', '3351', 't', '393', 'P', '7005', 'z', 'd', '8017', '5615', '3499', 'h', '6699', '2503', 'I', 'K', 'Q', 'r', 3151, 'w', 'K', 4719, 'E', 8819, 'U', 'Z', 'A', 2691, 'L', 'H'], [6659, 5871, 5255, 9791, 2747, 'r', 6469, 'E', 'l', 'o', 6747, 6329, 7433, 4373, 'J', 'X', 'o', 'C', 1479, 4157, 'S', 'z', 'n', 'n', 'E', 'I', '5545', '4907', '8539', 'l', '8481', 'A', '1027', '509', '6539', 'E', 'O', 'F', 'S', '2705', '3351', 't', '393', 'P', '7005', 'z', 'd', '8017', '5615', '3499', 'h', '6699', '2503', 'I', 'g', 1445, 'k']

Ex Output:

I, 5545, 4907, 8539, l, 8481, A, 1027, 509, 6539, E, O, F, S, 2705, 3351, t, 393, P, 7005, z, d, 8017, 5615, 3499, h, 6699, 2503, I