In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['M', 7655, 4053, 'l', 2399, 'V', 5187, 8731, 'E', 7577, '57', 'G', 'M', '4245', '1645', 'E', '9793', '3847', 'U', 'Y', 'W', '9875', '6153', 't', 'R', 'c', '5693', 'd', 9407, 'A', 'B', 5579, 6327, 4805, 5573, 3149, 2799, 825, 'x'], [2561, 7919, 'c', 9417, 8901, 'a', 'M', 469, 'w', 3955, 3237, '57', 'G', 'M', '4245', '1645', 'E', '9793', '3847', 'U', 'Y', 'W', '9875', '6153', 't', 'R', 'c', '5693', 'r', 6937, 5497, 'G', 97]