In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1833, 'v', 'h', 'i', 'j', 9037, 'w', 'H', 'v', 'Z', '1633', 'e', '3149', 'i', '4679', 'd', 'L', 's', '5693', 'a', 'Z', 'a', 'K', 'c', '9965', '7777', 'F', 'Q', 'd', '4229', '3703', 'f', 'q', 9299, 5595, 6531, 4577, 'U', 865, 'k', 'r', 3735, 8587, 7353, 1969, 'f', 'g', 3671, 1033, 'P'], ['M', 8481, 'V', 'v', 'Z', '1633', 'e', '3149', 'i', '4679', 'd', 'L', 's', '5693', 'a', 'Z', 'a', 'K', 'c', '9965', '7777', 'F', 'Q', 'd', '4229', '3703', 'f', 'U', 'G', 'z', 'R', 'i', 'Q', 't', 39, 8503, 8991, 'P']