In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9373, 'u', 3687, 'e', 8045, 9509, 'U', 'B', 'G', 8015, 4687, 'I', 1775, 8539, 6973, 'q', 'y', '4617', '4347', '2555', '5193', 'm', 'D', 'o', 'p', '1367', 'I', '4685', '4739', '6247', 'E', 'm', 'V', '9591', '7701', 'S', '395', 'Y', 'P', 5283, 'Y', 7571], [5273, 'j', 77, 'v', 73, '4617', '4347', '2555', '5193', 'm', 'D', 'o', 'p', '1367', 'I', '4685', '4739', '6247', 'E', 'm', 'V', '9591', '7701', 'S', '395', 'J', 'e', 'M', 509]