In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['j', 'M', 5933, 4871, 6435, 8069, 8975, 3457, 3629, 4381, 'L', '5867', 'C', 'q', '4143', 'W', 'J', '223', 'U', 'U', '1379', '2023', '4365', '5701', '9783', 'V', '3987', 'q', '9695', '8371', '1', 'j', 'c', '4181', 'P', '6471', '3823', 'h', 2799, 'U', 'e', 'T', 5063], ['i', 'T', 5961, 4079, 867, 9287, 5793, 7573, 113, 6043, 'L', '5867', 'C', 'q', '4143', 'W', 'J', '223', 'U', 'U', '1379', '2023', '4365', '5701', '9783', 'V', '3987', 'q', '9695', '8371', '1', 'j', 'c', '4181', 'P', '6471', '3823', 'R', 6775, 'G', 5231, 'u', 2183, 's', 'O']