How to say tom and mary sat next to each other in the classroom. in Esperanto

1)tom kaj mary sidis najbare unu al la alia en la klasĉambro.    
0
Translation by aloiserror in queryConnect Error: Too many connections