In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'h', '2827', 'L', '5605', 'k', '8389', '8171', '6685', '6225', '9285', 'I', 'p', 1385], ['E', 'w', 6671, 'i', 'p', 1785, 407, 'g', 'd', 's', '2827', 'L', '5605', 'k', '8389', '8171', '6685', '6225', '9285', 'I', 'b', 'e']