In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 243, 4567, 567, 5839, 5815, 5697, 'E', 'M', 'S', 'y', 't', '4299', '4747', 'I', '3297', 'H', 'P', '9461', '4737', '645', '8123', 'h', 'z', 6925, 3815, 4175, 771, 3141, 'Z', 'd', 8417], ['z', 267, 3259, 567, 'O', 1843, 'G', 2911, 5611, 'E', 'l', 't', '4299', '4747', 'I', '3297', 'H', 'P', '9461', '4737', '645', '8123', 'c', 'O', 'B', 'Q', 2407, 'm', 'L', 'v', 7587, 'y', 8883]