In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[945, 'I', 'l', 'j', 'o', '5017', '3597', '647', '4957', '4105', '7519', '6039', 'g', 'G', 'v', '3479', '1473', 'M', 'i', 'Z', 105, 'Z'], ['S', 'h', 'W', 'h', 'Z', 'u', 'V', 'o', '5017', '3597', '647', '4957', '4105', '7519', '6039', 'g', 'G', 'v', '3479', '1473', 'M', 'i', 'V', 'R', 7593, 'w', 's', 2763, 8953, 4291, 'f', 2235, 779, 1299, 2223]