In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'L', 'N', 'j', 8317, 3195, 'k', 'A', 5425, 'U', 'U', 'u', '8559', '2301', 'G', 'N', 'H', '3249', '273', '3055', 'n', 'r', 5811, 5179, 8619, 2355, 'T', 1645], ['V', 's', 'X', 'j', 'q', 9495, 'r', 'U', 'u', '8559', '2301', 'G', 'N', 'H', '3249', '273', '3055', 'q', 5535, 811, 6267, 'U', 8717, 'J']