In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5003, 'l', 353, 'Y', 3575, 'a', 'i', 4067, 'v', 2245, 2977, 'd', 37, '7281', 'y', '795', 'Z', '1797', '9461', '9277', '6673', 'e', 'Y', '5399', '4551', '4299', '2535', '1129', 'o', 'W', 'Q', '1733', 'X', 'a', '6569', 'j', 'B', 'X', 3039, 'm', 2131], ['w', 915, '7281', 'y', '795', 'Z', '1797', '9461', '9277', '6673', 'e', 'Y', '5399', '4551', '4299', '2535', '1129', 'o', 'W', 'Q', '1733', 'X', 'a', '6569', 'j', 'H', 9529, 'X', 'D', 2965, 6543, 3795, 'o', 'P', 7117, 2501, 8749, 6613]