In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['U', 5497, 'h', '3393', '9035', 'Y', 'b', '1933', '7541', 'a', 'Y', '2413', '4053', 'A', 'B', '4913', '9899', '5479', '7183', '1743', 'Z', '3939', '7985', '2035', 'u', 'y', 'J', '10007', 'p', 'Q', 'H', 'n', 8691, 'A', 6801, 's', 5595, 5231, 4595, 'W', 'M', 'x', 'J'], ['z', 'l', 'v', 7005, 9389, 'J', 6545, 7275, 'S', 1437, '3393', '9035', 'Y', 'b', '1933', '7541', 'a', 'Y', '2413', '4053', 'A', 'B', '4913', '9899', '5479', '7183', '1743', 'Z', '3939', '7985', '2035', 'u', 'y', 'J', '10007', 'p', 'Q', 'H', 'I', 'Q', 8355, 1807, 4639, 'm', 'h', 9625, 7989, 'D', 4121, 5787, 1095, 6951, 'z', 8901, 'q', 'S', 1471, 2507, 7517]