In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4829, 6929, 'd', 8179, 'F', 'H', 'g', 'S', 'x', 'j', 'n', 'L', 'p', 973, 'K'], [1031, 9615, 'l', 4343, 'x', 'F', 'H', 'g', 'S', 'x', 'j', 'Q', 2767, 3471, 'Z', 9869, 3689]