In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'O', 8825, '743', '4101', 'N', '9215', 'A', 'P', '2263', '3707', 'A', 'C', '2857', '7225', 'P', 'Y', 6533, 4697, 4843, 'L', 1847, 'z', 'R', 6073], [5253, 'w', 'j', 'U', 6461, 9367, 'p', 6153, '743', '4101', 'N', '9215', 'A', 'P', '2263', '3707', 'A', 'C', '2857', '7225', 'P', 'z', 8233, 'Y', 6341, 'R', 4879, 29, 'f']