In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 1981, 'K', '4585', '2167', '8611', 'j', 2831, 6403], [6833, 7251, 'K', '4585', '2167', '8611', 'k', 'O']