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

Ex Input:
[987, 885, 2111, 'P', 'e', 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'a', 6295, 1061, 1619, 3509, 8583, 'f', 1157, 5365, 'l', 'x', 'B', 'U', 141, 5753, 'F', 7595, 'H'], [8245, 137, 5887, 1267, 5851, 'n', 7393, 'f', 9739, 9983, 'h', 'h', 'C', 'P', 'V', '4563', 'E', 'J', 'M', 'n', 'C', 'Q', 'P', 'k', 'S', 'M', '8993', '8675', '6707', 'Q', 'r', '4351', 'Q', 'q', 'F', 'k', 3463, 'U', 3587, 't', 'j', 'q', 'M', 1213, 9955, 'h', 9779, 'l', 8839, 'G', 8477, 9341, 6071, 'm']

Ex Output:
h, h, C, P, V, 4563, E, J, M, n, C, Q, P, k, S, M, 8993, 8675, 6707, Q, r, 4351, Q, q

Ex Input:
['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']

Ex Output:
5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353

Ex Input:
[1299, 'F', 'Z', 5549, 'e', 9177, 6339, 'G', 5973, 'V', 'x', 4423, 'o', 1195, 'v', 'c', 't', 7189, 4347, '9725', 'q', '3277', '6065', 't', 'J', 'i', 'e', '4023', '285', 'I', 'o', '4967', '2209', 'u', '2557', 'U', '801', '4837', 'N', 'e', '9497', '6345', 'i', 'C', '3245', 'H', 8695, 's', 1897, 'h', 'w', 935, 4629, 4491], ['j', 4799, 149, 649, 'u', 4255, 'p', 8111, 3099, 413, 'J', 7733, 'k', 'f', 'K', 'e', 2903, 'r', 'd', '9725', 'q', '3277', '6065', 't', 'J', 'i', 'e', '4023', '285', 'I', 'o', '4967', '2209', 'u', '2557', 'U', '801', '4837', 'N', 'e', '9497', '6345', 'i', 'C', '3245', 'P', 'd', 2345, 'y', 1821, 'e', 'g', 317, 'A', 8737, 'c', 'a', 3201, 'V', 'P', 1245, 'r', 5939, 'V']

Ex Output:
9725, q, 3277, 6065, t, J, i, e, 4023, 285, I, o, 4967, 2209, u, 2557, U, 801, 4837, N, e, 9497, 6345, i, C, 3245