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

Ex Input:
[5401, 'j', 'y', 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'r', 'Z', 'F', 2683, 8021, 'c', 8229, 1989, 'm', 'r', 'O', 393, 2007, 9669, 'g', 8273], [6117, 7069, 'N', 'b', 7691, 3999, 8865, 1449, 'J', 'H', 'n', 'S', 7143, 6141, 2137, 'I', 'X', 'o', 'P', 'F', 'Z', 'N', '3703', 'V', 'b', 'I', '6417', 'c', '5287', 'K', '9693', 'h', 4013, 9577, 3799]

Ex Output:
I, X, o, P, F, Z, N, 3703, V, b, I, 6417, c, 5287, K, 9693


Ex Input:
['e', 'h', 's', 'a', 'H', 'T', 2055, 'K', 's', 4269, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'i', 'N', 9599, 8065, 'V', 'H', 7675, 4263, 'Z', 7307], ['V', 'z', 'C', 'S', 'F', 'a', 's', 6773, 'C', 'e', 9893, '8015', 'T', '1633', 'K', 'T', 'Z', 's', 'x', '7515', '9771', '7667', 'K', '3065', 'O', 'Q', 709, 'G', 167, 3287, 'w', 6213, 'g']

Ex Output:
8015, T, 1633, K, T, Z, s, x, 7515, 9771, 7667, K, 3065


Ex Input:
[2649, 27, 'R', 7979, 'N', 4897, 9869, 5759, 'J', 3999, 8265, '57', '5939', 'A', '7659', 'd', 'C', '171', '6311', '1783', '8097', 'k', '9253', 'R', '9469', 'w', 'u', 'X', 'S', 'h', '23', 'r', 'E', 'W', '3707', 'u', 'C', 'E', 'H', 'Q', 'y', 1189, 't', 'Y', 3407, 447, 1837, 'n', 'c', 2227, 'G', 4547, 3785, 'K', 6543, 'j', 'w', 9361, 6545, 'T', 'h', 'P', 9425, 'P', 9005, 4209], [6945, 'p', 6169, 129, 8783, 'T', 'u', 'm', 'M', 9569, 2949, '57', '5939', 'A', '7659', 'd', 'C', '171', '6311', '1783', '8097', 'k', '9253', 'R', '9469', 'w', 'u', 'X', 'S', 'h', '23', 'r', 'E', 'W', '3707', 'u', 'C', 'E', 'H', 'Q', 'x', 3389, 5815, 'a', 5761, 6313, 979, 'e', 2835, 6861, 4083, 7467, 1815, 2029, 'W', 7347, 7997, 2923, 'g', 5577, 7481, 'A', 1265, 3127, 2705, 4885, 9613, 'X']

Ex Output:

57, 5939, A, 7659, d, C, 171, 6311, 1783, 8097, k, 9253, R, 9469, w, u, X, S, h, 23, r, E, W, 3707, u, C, E, H, Q