In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 4077, '1719', '7511', 'I', '9625', '7275', 'j', '9431', '3629', '3551', 'a', '7157', 'B', 'T', 4743, 'w', 'd', 'Y', 'm', 'O'], ['m', 'L', 5459, '1719', '7511', 'I', '9625', '7275', 'j', '9431', '3629', '3551', 'a', '7157', 'B', 'r', 's', 4217, 'N']