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

Ex Input:
[7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]

Ex Output:
8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n


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:
[8479, 7917, 'F', 9891, 291, 's', 1409, 'B', 'o', 297, 1089, 4479, 'k', 209, 'Z', 'z', 6249, 9829, 1217, '1257', 'X', 'Z', 'k', '7835', '85', '4023', 'i', '5557', 'Z', '8659', 'b', 'g', 'N', 'A', '10021', 'W', 'p', '7711', '2801', 't', '5317', 'N', 'p', '9781', 'x', 'A', '9653', 'C', '9289', 'J', 6667, 'T', 3283, 2837, 'b', 'b', 8633, 1711, 'z', 'C', 1015, 'z', 5591, 1435, 7067, 'R', 'M', 'q', 8595, 4809, 4225, 't', 591, 3721, 1639, 5177, 'Q', 'H', 'Q'], [8657, 203, 'o', '1257', 'X', 'Z', 'k', '7835', '85', '4023', 'i', '5557', 'Z', '8659', 'b', 'g', 'N', 'A', '10021', 'W', 'p', '7711', '2801', 't', '5317', 'N', 'p', '9781', 'x', 'A', '9653', 'C', '9289', 'f', 8239, 6745, 7393, 'A', 's', 2719, 671, 'L', 6723, 2749, 7011]

Ex Output:

1257, X, Z, k, 7835, 85, 4023, i, 5557, Z, 8659, b, g, N, A, 10021, W, p, 7711, 2801, t, 5317, N, p, 9781, x, A, 9653, C, 9289