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

['q', 241, 'J', 5047, 5331, 'd', 'c', 'L', 'u', 'h', 3365, 1045, 'k', 955, 'Z', 8487, 'T', 'A', 'I', 'm', 'j', 'd', 'v', '1431', 'g', '5867', '415', '3663', '6653', 'r', '919', '907', 'a', 'j', 'S', '7531', 'A', 'N', 'r', '7893', 'y', 'g', 's', 'R', 8767, 'g', 6639, 'j', 9269, 7827, 6655, 's', 5123, 'u', 9873, 2801, 6191, 'p', 'V', 7899, 4597, 5585, 'Y', 'U'], ['e', 'p', 'A', 'I', 'm', 'j', 'd', 'v', '1431', 'g', '5867', '415', '3663', '6653', 'r', '919', '907', 'a', 'j', 'S', '7531', 'A', 'N', 'r', '7893', 'y', 'g', 's', 'T', 'k', 'd', 3535, 'o', 769, 3885]
A, I, m, j, d, v, 1431, g, 5867, 415, 3663, 6653, r, 919, 907, a, j, S, 7531, A, N, r, 7893, y, g, s