In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['V', 3167, 9927, '6217', '7893', '4541', 'I', 'J', 'l'], ['E', 4047, 5721, '6217', '7893', '4541', 'I', 'r', 7785, 8899, 6125]