Use of 'only'

Which is grammatically correct?
‘Please take one pencil only.’
‘Please only take one pencil.’
‘Please take only one pencil.’

All seem to be correct. It sounds nicer to say the first.