In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'b', 'T', 7887, 'W', 'X', 8495, 'D', 'A', 'w', 'B', '2887', '929', 'C', 'j', '6985', 'r', '3623', 'g', '6259', 'x', 'A', 'j', '1999', 'O', '9751', 'V', 'q', 'j', 'P', 'U', 'G', 'y', 9641, 'K', 'h'], ['O', 3593, 'T', '2887', '929', 'C', 'j', '6985', 'r', '3623', 'g', '6259', 'x', 'A', 'j', '1999', 'O', '9751', 'V', 'q', 'j', 'P', 'U', 'M', 9737, 'G', 3665, 1549, 'W', 4603]