In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4625, 337, 4767, 1897, 1995, 8373, 'P', 'q', 1457, 'w', 'e', '7183', '2179', 'O', '45', 'Y', 'w', '3613', '9719', '2811', '8557', '3167', '8901', '4971', 'R', '5823', '4861', 'Y', 'l'], [5677, 5223, 'w', 5083, 'n', 'a', 'W', 'A', 'O', 4099, 8409, 'a', 6443, 'K', 'H', 'w', 'e', '7183', '2179', 'O', '45', 'Y', 'w', '3613', '9719', '2811', '8557', '3167', '8901', '4971', 'R', '5823', '4861', 'S', 'E', 'E', 2577]