In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['H', 'a', 'X', 693, 4915, 2755, 't', 'v', '3379', 'H', '4313', '7337', '4371', '3669', 'Z', 'B', 'S', 'Z', 'Z', '931', '3223', '8327', 'H', '7851', 'M', 'U', 'a', '9317', 'r', 1049, 'O', 'a'], ['P', 'g', 8971, 'F', 4657, 1865, 3323, 'k', 'j', 'R', 4991, 9523, 3167, 2245, 10017, 'z', 1735, 3521, '3379', 'H', '4313', '7337', '4371', '3669', 'Z', 'B', 'S', 'Z', 'Z', '931', '3223', '8327', 'H', '7851', 'M', 'U', 'a', '9317', 'f', 'y', 8383, 'Y', 5109, 7057, 9747, 's', 7487, 'd', 7723]