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

Ex Input:
[455, 5425, 2307, 'J', 327, 't', 'c', 'b', 6749, 7017, 'W', 'J', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'L', 4491, 'u', 't', 'v', 'P', 'n', 8189, 'C', 'G', 6899, 'L', 9701, 'c', 3957, 7607, 1245, 'M', 'I', 2799], [2217, 'B', 'G', 8865, 'Z', 5559, 'H', 1391, 6963, 'w', 'e', 'f', 9921, 'N', 2189, 'T', 'k', 'n', 6323, 6659, 'm', '7781', 'g', '7793', '7355', 'V', '5905', '9737', '1183', 'x', '4965', 'h', '7671', 'X', 'x', 'V', '2529', 'r', '2961', '5337', '993', '8789', '6837', 'a', 2811, 'K', 'J', 1933, 'X', 'G', 'p', 'X', 'n', 'g', 975, 6475, 'h', 'S']

Ex Output:
7781, g, 7793, 7355, V, 5905, 9737, 1183, x, 4965, h, 7671, X, x, V, 2529, r, 2961, 5337, 993, 8789, 6837


Ex Input:
[7969, 7833, 9069, 'l', 'N', 7935, 7821, 'y', 'q', 'r', 'G', 'O', 'w', 'n', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'M', 'c', 'u', 5133, 'x', 117, 5841, 'd', 'z', 'A', 3299, 'O', 'W', 'E', 'Q', 8547, 'w', 5235, 9011], [2305, 'g', 'Y', 'v', 6105, 'm', 6457, 2715, 'b', 7811, 3401, 'H', 'h', 'j', 'X', '9705', 'U', '7943', 'K', 'r', '4841', '2141', 'd', '2007', 'O', '5005', 'b', '7367', 'T', 'C', 't', '6865', 'Y', '1263', 'K', 'Z']

Ex Output:
h, j, X, 9705, U, 7943, K, r, 4841, 2141, d, 2007, O, 5005, b, 7367, T, C, t, 6865, Y, 1263


Ex Input:
[8515, 3071, 417, 6425, 7957, 'a', 'l', 'C', '2181', '617', '8139', 'U', 'C', 'I', 'E', 'Y', '177', '3447', 'r', '9929', '417', '9007', 'u', '7593', '3079', 'u', 3909, 'i', 'y', 9037, 'y', 4559, 885, 9773, 'j', 7313, 'C', 8689], ['j', 1755, 'K', 639, 9799, 8221, 'v', 'Q', 7851, 'I', 'c', 3873, 'v', 'W', 'n', '2181', '617', '8139', 'U', 'C', 'I', 'E', 'Y', '177', '3447', 'r', '9929', '417', '9007', 'u', '7593', '3079', 867, 'L', 'u', 'i', 'B', 'V', 'i']

Ex Output:

2181, 617, 8139, U, C, I, E, Y, 177, 3447, r, 9929, 417, 9007, u, 7593, 3079