How can I exclude the latest post from the front page?

I’m trying to exclude the latest post from the homepage/archive page. The closest I’ve gotten is by using this.

function exclude($  query) {       if ($  query->is_home() ) {           $  query->set('post__not_in', array(1111));       } } add_action('pre_get_posts', 'exclude'); 

Instead of using array(id) to select a post and exclude it from the query — how do I make it so it automatically picks the latest post?

Thanks.