In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7859, 'v', 'Y', 'n', 'z', 'e', '4729', 'w', '7101', 'x', '9929', '4103', '4145', 'Y', '9917', 'X', '9759', '2595', '9355', 'R', '2141', 'h', 'N', 'X', 'U', 'G', 'U', 'u', 'E', 'Q', 6227, 'Z'], ['H', 2345, 'V', 'i', 'Q', 'n', 1791, 8399, 2775, 'U', 1151, 'p', 'Y', 'n', 'z', 'e', '4729', 'w', '7101', 'x', '9929', '4103', '4145', 'Y', '9917', 'X', '9759', '2595', '9355', 'R', '2141', 'h', 'N', 'X', 'U', 'u', 143, 2659, 'f', 8047, 'R']