This phrase seems inelegant in the real speech, but it's correct from grammatical point of view.