quedarse con la copla
Meanings
Verb
1. to understand; to know the score (idiomatic)