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

Example Input: [7299, 'v', 7279, 'o', 2589, 'K', '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'f', 1935, 'V', 9979, 3301, 'Z', 'J', 521, 871, 'Z', 'R', 7831, 'T', 'h', 3231, 'e', 2391], [7491, 'k', 4137, 'P', 'F', 8159, 'x', 6363, 2449, 7479, 6825, 7107, 'I', 2931, 7047, 9149, '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'g', 7147, 2657, 'Z', 'a', 503]
Example Output: 4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295

Example Input: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']
Example Output: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B

Example Input: [15, 6019, 1909, 9625, 8159, 'x', 6991, 1601, 9115, 6189, 'N', 'Q', 2997, '3789', '2687', '2493', 'O', '2289', 'e', '943', 'j', '4693', '9851', '9781', 'A', 'R', 'r', 'M', '3089', 'N', '9131', '8387', '5369', 'c', '9913', 'T', '873', 'N', 'q', 'Q', 633, 'F', 8691, 'i', 9415, 4443, 'W', 1033, 8405, 'w', 'n', 'A', 'a', 3507, 107], [7301, 9119, 'd', 1839, 'w', 9751, 7635, 1531, 3523, 'B', 'O', 7323, 415, '3789', '2687', '2493', 'O', '2289', 'e', '943', 'j', '4693', '9851', '9781', 'A', 'R', 'r', 'M', '3089', 'N', '9131', '8387', '5369', 'c', '9913', 'T', '873', 'G', 2119, 'C', 'F', 'i', 2697, 1557, 8109, 4375, 'e', 'u', 'C']
Example Output:
3789, 2687, 2493, O, 2289, e, 943, j, 4693, 9851, 9781, A, R, r, M, 3089, N, 9131, 8387, 5369, c, 9913, T, 873