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

['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]
2891, 7537

['M', 'u', 'N', 'y', 295, 3475, 9835, 'H', 4717, 1403, 'Y', 9997, 8009, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'w', 3597, 1163, 5869], ['v', 9877, 'x', 5367, 4285, 'B', 4389, 3125, 'J', 'u', 2261, 8063, 'W', 'l', 'I', 'y', 9779, 'g', 'p', '5225', '6819', '2091', '2855', '3637', '2009', 'v', 'c', 'r', '8173', 'H', 'o', 'N', 'F', '1483', 'P', 5999, 'u', 2261, 'd', 'n', 'N', 9087, 'P']
g, p, 5225, 6819, 2091, 2855, 3637, 2009, v, c, r, 8173, H, o, N, F, 1483

[8479, 'Q', 483, 'F', 7157, 'X', 671, 8101, 'E', 2097, 7443, 'c', 1019, 6979, 1753, 2939, 'q', 907, 5779, 8211, 'k', 'h', 3747, 'D', '2495', '877', 'l', 'w', 'U', 'Q', '3701', 'J', '7803', '8053', '8951', '10007', 'P', '3111', 'T', '5829', 'u', '1553', '7453', '9177', 'U', 'P', 'k', 5755, 'A', 'h', 6815, 'Q', 5149, 4497], ['i', 8081, 3531, 'U', 'n', 'Y', 611, 6537, 3397, 743, 3285, 'J', 'a', 'B', 'D', '2495', '877', 'l', 'w', 'U', 'Q', '3701', 'J', '7803', '8053', '8951', '10007', 'P', '3111', 'T', '5829', 'u', '1553', '7453', '9177', 'U', 'P', 'P', 't', 'S', 6701, 'Y', 7673, 'K', 247, 'h', 2687, 'L', 6557]

D, 2495, 877, l, w, U, Q, 3701, J, 7803, 8053, 8951, 10007, P, 3111, T, 5829, u, 1553, 7453, 9177, U, P