the city is located on the left bank of the ipoly river bordering slovakia