In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8145, 'd', 'x', 'I', 1179, 'g', 'v', 4161, 7121, 'X', 4601, 9027, 'v', 'H', 'm', 7147, 8871, 7783, '389', 'V', '5267', '9853', '5613', 'O', '7953', 'c', '4839', '2635', 'G', 'a', 'B', '3591', '9883', 'P', '6915', '4687', 'V', 7225, 'Z', 'Z', 303, 9209, 1885, 6507, 'z', 6551, 'k', 'X', 'Q', 3153, 'l', 'Y', 10009, 9135], ['l', 3823, 849, 'I', 'p', 9047, 8565, 1593, 'W', 3175, 'j', 3323, 'X', 'F', 3749, 'i', '389', 'V', '5267', '9853', '5613', 'O', '7953', 'c', '4839', '2635', 'G', 'a', 'B', '3591', '9883', 'P', '6915', '4687', 'X', 1705, 'j', 'V', 'd', 8077, 6057, 9999, 's']