In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 9269, 'E', 'X', 1025, 3449, 553, 'S', 8015, 6205, 5835, 533, 'd', 'x', 'N', 'X', '4977', '9193', 'i', '8417', 'Q', 'K', '4875', '9559', 'X', '9861', 'J', 't', '1419', 'e', '1383', 'G', 'K', 1265, 'A', 5057, 7501, 'L', 2845, 8869, 'P', 'Y', 'f'], [7423, 'K', 'k', 'g', 'P', 'N', 5421, 3347, 'N', 'X', '4977', '9193', 'i', '8417', 'Q', 'K', '4875', '9559', 'X', '9861', 'J', 't', '1419', 'e', '1383', 'G', 'f', 7441, 9875, 'D', 'y', 'k', 7799, 'n', 'n', 'f']