In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4321, 'e', 'U', 1587, 'i', 2115, 1829, 'Z', 'u', 'y', 'd', 7611, 2141, 6611, 7615, 7407, 6397, 1395, 'c', 'j', 's', '3377', 'D', '5625', 'J', '9011', 'K', 'i', 'B', '6649', '7087', '8509', 'r', 'l', '637', '603', '5035', '6197', '8167', 'z', 's', '283', 'Z', '4831', 'P', '7915', '9151', 'r', '3125', '6171', '6095', 'R', 487, 1801, 9383, 4893, 'c'], [495, 3619, 3491, 2975, 'L', 9283, 5367, 2523, 1453, 'p', 'H', 2633, 'x', 4239, 351, '3377', 'D', '5625', 'J', '9011', 'K', 'i', 'B', '6649', '7087', '8509', 'r', 'l', '637', '603', '5035', '6197', '8167', 'z', 's', '283', 'Z', '4831', 'P', '7915', '9151', 'r', '3125', '6171', '6095', 'p', 'p', 'V', 'F', 5637, 'c', 'n', 7015, 10019, 'd', 'h']