In an AP 2,5,8,...... up to 60 terms, and 3,5,7,9,...... up to 50 terms, the no. of identical terms is equal to -