In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['V', 1207, 7877, 6887, 'Y', 'h', '4943', 'Z', 'I', '7641', '8399', '4777', '493', 'Q', 'r', '2813', '5389', '1201', 'H', 'G', 'q', '4427', '1629', 'h', '2907', 'x', 'U', 'C', '1545', 'w', 'Q', 8295, 'w', 'G', 'u', 'u', 'a', 7535], [2877, 'Z', 8075, 6393, 'n', 'E', 'J', 4343, 6741, 'P', 'U', 5363, 7335, 'h', 'O', 8921, 'R', 'z', 'j', 1187, 1691, 5469, 8241, 'Y', 'h', '4943', 'Z', 'I', '7641', '8399', '4777', '493', 'Q', 'r', '2813', '5389', '1201', 'H', 'G', 'q', '4427', '1629', 'h', '2907', 'x', 'U', 'C', '1545', 'w', 'v', 'N', 'u', 5371, 'q', 'x', 'A', 't', 'p', 'I', 'J', 'l', 7189, 7595]