In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5009, 'C', 'd', 3605, 'U', 5759, 1497, 7407, 9893, 3003, 5063, 'P', 4039, 'H', 8891, 8013, 'H', 9275, 'R', 'C', 'I', '5545', '4907', '8539', 'l', '8481', 'A', '1027', '509', '6539', 'E', 'O', 'F', 'S', '2705', '3351', 't', '393', 'P', '7005', 'z', 'd', '8017', '5615', '3499', 'h', '6699', '2503', 'I', 'K', 'Q', 'r', 3151, 'w', 'K', 4719, 'E', 8819, 'U', 'Z', 'A', 2691, 'L', 'H'], [6659, 5871, 5255, 9791, 2747, 'r', 6469, 'E', 'l', 'o', 6747, 6329, 7433, 4373, 'J', 'X', 'o', 'C', 1479, 4157, 'S', 'z', 'n', 'n', 'E', 'I', '5545', '4907', '8539', 'l', '8481', 'A', '1027', '509', '6539', 'E', 'O', 'F', 'S', '2705', '3351', 't', '393', 'P', '7005', 'z', 'd', '8017', '5615', '3499', 'h', '6699', '2503', 'I', 'g', 1445, 'k']