In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4847, 4587, 'e', 4871, '6649', '3599', 'S', 'A', 'V', '5821', '2133', 'a', 'Q', 'J', '4481', '4925', 'g', 'G', 'W', 'X', 4845, 'g', 'i', 'f', 'b', 4175, 1185], ['x', 'S', 7249, 'e', 'N', 'W', 'A', 8113, 9767, 3975, 'a', '6649', '3599', 'S', 'A', 'V', '5821', '2133', 'a', 'Q', 'J', '4481', '4925', 'g', 'G', 'K', 7711, 'm', 't', 'c', 'G', 'H', 'L', 'm', 'T', 9717, 321, 'h', 869]