In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4943, 's', 'c', 'f', 'Q', 5131, 4687, 'l', 5041, '7541', '8633', 'a', 'm', '2789', '307', 'q', '4769', 't', '1409', 'h', 'D', 'k', '8495', 'l', '8299', 'h', 1857, 'S', 'M', 'B', 'y', 7505], ['h', 'I', 'G', '7541', '8633', 'a', 'm', '2789', '307', 'q', '4769', 't', '1409', 'h', 'D', 'k', '8495', 'l', '8299', 'x', 'Q', 9315, 6381, 6461, 'h', 'C']