In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['D', 'Q', 'S', 'e', 'i', '4069', 'E', 't', 'i', '5477', '6991', '7061', 'T', 9765, 5233, 1165, 903], ['j', 'n', 2893, 'C', 7273, 6423, '4069', 'E', 't', 'i', '5477', '6991', '7061', 'Z', 'P']