In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['I', 'k', 'b', '5887', '4939', '9047', '6943', '7551', 'B', 'H', 'N', 'R', 'S', '2903', 'g', 'k', 'E', 8177, 6007], ['M', 509, 'U', 'h', 'd', 9015, 'e', 'l', '5887', '4939', '9047', '6943', '7551', 'B', 'H', 'N', 'R', 'S', '2903', 'g', 'b', 8785, 'v']