In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 5559, '353', 'o', 'L', 'O', '9505', 'O', 't', 'H', 'c', 't', 9765, 'W', 1717, 491], ['V', 2019, '353', 'o', 'L', 'O', '9505', 'O', 't', 'g', 'O', 'b', 'a']