In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8073, 6017, 'i', '2191', '1577', '4569', 'N', 2977, 'i'], ['T', 'B', '2191', '1577', '4569', 'f', 2451, 'V']