In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5653, 1229, 4183, 'g', '5605', '7613', 'J', 'g', 'K', 'O', 'o', 'A', 7931], ['c', 'J', 4579, 4879, '5605', '7613', 'J', 'g', 'K', 'O', 'W', 'L', 'C', 7311, 'Y', 'Q']