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

[5005, 'F', 'd', 6849, 'K', 6101, 'z', '8363', '9953', '653', '6637', '5681', '2997', '9649', '1595', '6601', 'L', 'a', '7163', 'z', 'N', '3371', 'm', '8305', 'o', 1779, 'C', 6843, 4971, 9003], [2233, 'n', 3029, 'z', '8363', '9953', '653', '6637', '5681', '2997', '9649', '1595', '6601', 'L', 'a', '7163', 'z', 'N', '3371', 'm', '8305', 'Z', 7661, 'd', 'F', 3153, 'l', 7987, 'J', 'C', 'F', 'c', 'v', 'L', 2227, 7081, 5051]
z, 8363, 9953, 653, 6637, 5681, 2997, 9649, 1595, 6601, L, a, 7163, z, N, 3371, m, 8305