In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2087, 5877, 'z', 1749, 4941, 't', '9445', '9107', 'i', '9905', '7499', 'L', 'r', 6163, 9411], ['p', 7255, 'd', 3319, 1067, 't', '9445', '9107', 'i', '9905', '7499', 'L', 'i', 7457]