In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3513, 'm', 'd', 'D', 'W', 3645, 5865, 'a', 4599, 8779, 'z', 'W', 5763, '5581', 'W', 'r', '8791', '5611', 'F', '4609', 'u', '3605', '5297', 'P', '8281', '9369', 'v', 'h', '5425', 's', '9617', '1641', '2571', 'q', '7465', 'j', 4251, 'M', 9377, 3223, 'M', 3831, 'H', 'h', 849, 'I', 'E'], [6169, 8429, 'x', 321, 5665, 3105, 'e', 'a', 'h', 495, 7325, '5581', 'W', 'r', '8791', '5611', 'F', '4609', 'u', '3605', '5297', 'P', '8281', '9369', 'v', 'h', '5425', 's', '9617', '1641', '2571', 'q', '7465', 'R', 1043, 5437, 'w', 1081, 9491, 'l', 9089, 4265, 6751, 5423, 6903, 'W', 4311, 7347, 'B', 8643]