In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[595, 'h', 3803, 't', 'l', 'K', '8101', 'H', '2791', '7239', 'y', 'e', 9863, 2437, 'T'], [5029, 7493, 'K', '8101', 'H', '2791', '7239', 'F', 8951, 'o']