In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'x', 'X', 8847, 6433, 'e', 'X', 7161, 'y', 9861, 'e', 6013, 4375, 'a', 'E', 'd', 'v', '4987', '1251', 'S', '3969', 'w', '6015', '8335', 'd', 'J', '4067', 'X', '9079', 'x', 'D', 'l', 'H', 'F', 'J', 7575, 1475, 'm', 'q', 'c', 'M', 'n', 'e', 'u', 3895, 9103, 'o', 8497, 'Y'], ['c', 'd', 'l', 9125, 2843, 6879, 'a', 'E', 'd', 'v', '4987', '1251', 'S', '3969', 'w', '6015', '8335', 'd', 'J', '4067', 'X', '9079', 'x', 'D', 'l', 'I', 'f', 'O', 'f', 'P', 3823, 8599, 2537, 'U', 5213, 'f', 'T', 3309, 'A', 's']