In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8893, 715, 'G', '8131', '8651', 'T', '9823', '2123', '6987', '6919', '7931', 'F', 'F', 'O', 'd', 'R', 3219, 'z', 'N', 7277], ['d', 'I', '8131', '8651', 'T', '9823', '2123', '6987', '6919', '7931', 'F', 'q', 3289, 1683, 9485]