In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 9025, 8105, 'b', 2259, 5477, 'M', 'B', '5771', '681', 'o', '4563', 'f', 'h', '4011', 'e', 'P', 'a', '4891', 'w', '9071', '5003', '287', 'j', '7519', 'B', 'm', 'w', '9895', '6733', 'o', 'W', '2849', 'a', 'i', 'T', 9451, 8109, 4053, 'E', 'a', 8063, 'P', 'd', 'N', 17, 't', 2187, 'z', 'J', 'u', 3809, 'W'], [6143, 'F', 'G', 'Y', 'E', 891, 4273, 'K', 5141, 8291, 'Q', 2027, 'k', 4965, 'x', 835, 9065, 'P', 'B', '5771', '681', 'o', '4563', 'f', 'h', '4011', 'e', 'P', 'a', '4891', 'w', '9071', '5003', '287', 'j', '7519', 'B', 'm', 'w', '9895', '6733', 'o', 'W', '2849', 'a', 'i', 'i', 'F', 'm', 'T', 2531, 4861, 'k', 'Q', 4295, 'I', 'L', 6269, 587, 3967, 145]