In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 9699, 4165, 5689, 1955, 8545, 'j', 6965, 1631, 1829, 5185, 'O', 7821, 'h', 'Q', '4549', '107', '6265', '7983', 'X', '2009', '3029', '8995', '3683', '6865', '4723', '6767', '3763', '9879', 'Y', 'f', 'V', 5171, 3143], ['h', 6393, 'n', 2621, 't', 'z', 3115, 6809, 573, 10013, 'I', 4653, 'r', 'X', '4549', '107', '6265', '7983', 'X', '2009', '3029', '8995', '3683', '6865', '4723', '6767', '3763', '9879', 'Y', 'b', 7811, 2669, 'D', 'u', 'z', 1785, 3679]