In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 'g', 295, 'd', 'B', 7281, 9693, 6957, 7453, 'H', 'P', '5847', '8153', 'f', 'z', 'm', '4057', '4283', 'r', '541', 'b', 'R', '4905', '6121', 'v', 'k', 4073, 5685, 5701, 8887, 1463, 6037], ['h', 'n', 'z', 9257, 6215, 'L', 3325, 'f', 93, '5847', '8153', 'f', 'z', 'm', '4057', '4283', 'r', '541', 'b', 'R', '4905', '6121', 'v', 'z', 'd']