In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9343, 'G', 933, 8877, 1097, 9829, 'Y', 'I', '4091', '909', 'a', '699', 'O', 'o', 'G', 'X', '4529', 'b', 'h', 'l', 3577, 'd', 6723, 475], ['c', 185, 'Y', 'I', '4091', '909', 'a', '699', 'O', 'o', 'G', 'X', '4529', 'Z', 'v', 'B', 'G', 'K']