Where is Gary? Gary is at the library studying or Gary is studying at the library.

Which is the correct answer?