In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['E', 'j', 'B', 2883, 5899, '3497', '5321', 'd', '9347', 'j', 'n', '2029', 'J', '7779', '5461', '5653', '387', '7655', 'F', '9233', '2375', '8821', 'P', 'R', '235', '8677', 'A', 'Y', '7487', 'J', 'a', 'k', 'A', 'p', 4351, 'J', 7669, 'Y', 9081, 9719, 'r', 7545, 'L', 'd', 9653, 'K', 's', 7297, 3911, 'C', 'y', 6103, 'Q', 'M', 'Y'], [1271, 'B', 'w', 9317, 'x', 'T', 717, 2515, 'Q', 4637, 6497, 'z', 1461, '3497', '5321', 'd', '9347', 'j', 'n', '2029', 'J', '7779', '5461', '5653', '387', '7655', 'F', '9233', '2375', '8821', 'P', 'R', '235', '8677', 'A', 'Y', '7487', 'J', 'a', 'k', 'X', 'p', 'L']