In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['o', 6309, 1495, 'p', 5985, 3319, 3987, 'W', '4233', '8805', 'Q', '7583', 'A', '3635', '7909', 'Y', '8611', '9675', '6651', 'S', 'y', 'w', 5831, 9235, 6787], [3055, 'e', 7637, 'X', 'Y', '4233', '8805', 'Q', '7583', 'A', '3635', '7909', 'Y', '8611', '9675', '6651', 'c', 'N', 'm', 1333, 2413, 3729, 2559, 3057, 'R', 'r']