In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 'N', 4027, 'N', 9229, 'N', 'T', 'r', 'D', '7651', '4329', '8427', '4917', '2493', '1475', 'L', 'G', 'o', '8675', 't', 'l'], ['v', 5009, 2851, '7651', '4329', '8427', '4917', '2493', '1475', 'L', 'G', 'o', '8675', 'h', 'j']