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

Ex Input:
[9945, 7993, 'D', 'C', 1341, 'S', 3245, 'v', 'R', 'a', 'Y', 'm', 'j', 'S', 2325, 7293, 8483, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'o', 5889, 'c', 2547, 'q', 9407, 'M', 'O'], [2017, 'P', 9637, 7239, '2185', 'X', '5509', 'v', 'Q', '1557', '2811', '3957', '431', '2403', '9633', 'H', 'd', 'h', 'u', 'P', '3647', 't', '8345', '8157', 'a', '4759', '3097', 'Y', 'O', 'U', 495, 'U', 3945, 'h', 9439, 6821, 7583, 6249, 573, 'v', 'T', 2219, 3279]

Ex Output:
2185, X, 5509, v, Q, 1557, 2811, 3957, 431, 2403, 9633, H, d, h, u, P, 3647, t, 8345, 8157, a, 4759, 3097


Ex Input:
[9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']

Ex Output:
4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r


Ex Input:
[5045, 1791, 6085, 7007, 9637, 'x', 3783, 5591, 'j', 4653, 'g', 6971, 2287, 'I', 4077, 'i', 'w', 8247, 6383, 1925, 9991, 4699, 1813, 'C', 8971, 'S', '4705', '9921', '2633', 'R', 'b', '5569', 'X', '5411', 'h', 'y', '8167', 'K', 'u', '4777', '1657', 'N', '9529', 'B', 'P', '4219', '8903', 'J', 'l', '6491', '103', '9033', 'N', '6607', 'u', 'd', 2971, 7159, 'Q', 'V', 'Q', 3939, 'G', 5987, 'B', 3511, 8965, 'z', 5001, 'P', 5643, 'N', 519, 'X', 'C', 4589, 8927, 4349, 'q'], ['o', 'I', 5109, 4587, 8433, 931, 6681, 6147, 4303, 'w', 8085, 'X', '4705', '9921', '2633', 'R', 'b', '5569', 'X', '5411', 'h', 'y', '8167', 'K', 'u', '4777', '1657', 'N', '9529', 'B', 'P', '4219', '8903', 'J', 'l', '6491', '103', '9033', 'N', '6607', 'd', 'r', 5927, 8409, 'y', 'x', 'n', 8721, 6237, 4879]

Ex Output:

4705, 9921, 2633, R, b, 5569, X, 5411, h, y, 8167, K, u, 4777, 1657, N, 9529, B, P, 4219, 8903, J, l, 6491, 103, 9033, N, 6607