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

[9793, 'Z', 8111, 'l', 'L', 3399, '5309', '4055', '6613', '511', '1507', 'm', 'N', 'v', 'j', '9567', 'F', '5837', '6363', '6095', '3143', 'w', '5563', '2565', 'h', 2865, 'e', 1237, 4297, 'f', 'N', 'k', 'm', 'u', 'S', 6499, 1517, 4125, 2455, 'D', 'J'], ['f', 'M', 'w', 'A', 2411, 4211, 'l', 'h', 5979, 'w', 8829, 1203, 765, 6823, '5309', '4055', '6613', '511', '1507', 'm', 'N', 'v', 'j', '9567', 'F', '5837', '6363', '6095', '3143', 'w', '5563', '2565', 'r', 5027, 209, 'a', 3509, 'Y', 'M', 'P', 'j', 'I', 6841, 'X', 857]
5309, 4055, 6613, 511, 1507, m, N, v, j, 9567, F, 5837, 6363, 6095, 3143, w, 5563, 2565