In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['a', 'p', 9743, 's', 'f', 'd', 'T', 'L', 4097, 5643, 9039, 'M', 6969, 'd', '1321', 'Q', '6839', 'k', 'F', '6375', 'Y', '1265', 'D', 'R', '5619', 'n', 'O', '3367', 'o', 'J', 'y', 2579, 9823, 2173, 4501, 6931, 't', 2121, 751, 6137, 'h', 'T'], [6251, 'R', 'G', 4165, 't', 8925, 'v', 'A', 'n', 'x', 'b', 'd', '1321', 'Q', '6839', 'k', 'F', '6375', 'Y', '1265', 'D', 'R', '5619', 'n', 'O', '3367', 'o', 'J', 'T', 'R']