In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['u', 2851, 'z', 'V', 'W', 6989, 8447, 6277, '9397', 'H', 'r', 'G', 'F', '395', '8711', 'p', 's', '3503', 'z', 'E', 3465, 'O', 3471], [5031, 3233, 7793, 'j', 'L', 1117, 5417, 'D', '9397', 'H', 'r', 'G', 'F', '395', '8711', 'p', 's', '3503', 'j', 5709, 3783, 'j', 'g']