In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1583, 3751, 'O', '8771', '7137', 'E', '8867', 'K', '8391', '1721', '4805', 'i', '3451', 'K', 'P', 'z', 2083], ['R', 7705, 9543, 'U', 'g', 'l', 1565, 1797, 'U', 'J', 'D', 'O', '8771', '7137', 'E', '8867', 'K', '8391', '1721', '4805', 'i', '3451', 'K', 'd', 'R', 4673, 'l', 8103, 10021]