In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 9149, 4635, 5625, 'n', 3023, 2253, 'y', 't', 'Z', 'H', 'G', '5797', 'r', '8267', 'h', 'D', 2959, 'b', 9407, 'o', 8379], [3921, 3069, 'Z', 9395, 'y', 't', 'Z', 'H', 'G', '5797', 'r', '8267', 'O', 'V']