In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 4157, 'I', 's', 6617, 57, 'U', '9395', '6413', 'P', 'E', '9167', 'l', '8433', 'G', 'H', 5771, 4205], [3297, 1889, 'w', 'V', 'U', 'U', '9395', '6413', 'P', 'E', '9167', 'l', '8433', 'c', 3817, 6117, 'y', 'B', 9719]