In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5577, 'D', 'V', 8349, 6441, 1021, 3373, 1975, 'z', 'J', 'F', 'Y', '515', 'C', '6929', 'c', 'Y', '1423', 'a', '9975', '4665', '1119', '5713', 'E', '8631', '3725', 'A', '9799', '3157', '1331', 'c', 'Q', 8789, 'N', 617, 'P', 8781, 7205, 'u', 2301, 4615, 'T'], ['F', 2609, 4009, 4029, 'Q', 5847, 7355, 5585, 1295, 'Y', '515', 'C', '6929', 'c', 'Y', '1423', 'a', '9975', '4665', '1119', '5713', 'E', '8631', '3725', 'A', '9799', '3157', '1331', 'P', 8199, 5329, 'D', 8577, 1617, 8597]