In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2599, 9017, 1803, 'R', 4975, 5715, 'i', 6207, 7003, 'c', 2069, 6337, 8319, '1651', '6119', 'U', '6625', 'w', '2307', '7027', 'M', '1903', 'p', 'd', '6105', 'i', 'k', '509', '3513', '6685', '8695', 'U', 'i', 'E', 8065, 9305, 6563, 'l', 1775], [8071, 2885, 1101, 1771, 7121, 1999, 'H', 10017, 235, 4411, 4091, 't', 'C', '1651', '6119', 'U', '6625', 'w', '2307', '7027', 'M', '1903', 'p', 'd', '6105', 'i', 'k', '509', '3513', '6685', '8695', 'U', 'A', 7335, 'V', 'O', 'v', 'x', 'S', 'k', 'D', 'n', 6463, 'P', 9501]