In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 8511, 'F', 'l', 'S', '3269', 'q', '8097', 'z', '9515', '9929', '7775', '6719', '2889', 'F', 'X', 'M', 'k', 'j', 2587, 3247, 7081, 'p'], [9047, 4589, 'A', 5525, 'T', 'a', 4361, 'I', 'g', 't', 8343, 7517, 'R', 'F', 'l', 'S', '3269', 'q', '8097', 'z', '9515', '9929', '7775', '6719', '2889', 'F', 'X', 'X', 'n', 9725, 3671, 'd', 'h', 1887, 'W', 4057, 455, 9111, 4519, 6423]