In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2317, 'X', 'k', 'S', 'a', 7241, 3657, 4123, 'T', '2159', '4359', 'Q', '5661', 'g', '7797', '5285', '4091', '5093', 'B', '9803', '7891', 'f', 'p', 'k', 'U', 4951, 'N', 8859, 'R', 7789, 'X'], [2893, 'v', 6791, 8407, 'G', 'T', '2159', '4359', 'Q', '5661', 'g', '7797', '5285', '4091', '5093', 'B', '9803', '7891', 'f', 'p', 'c', 7079, 'j', 't', 'w', 'i', 7689, 4273, 'd']