So far I've studied a lot of courses like Algebraic topology, Homological Algebra, Differential Geometry and Manifolds but I've never studied Number theory and I am going to be enrolled to a master programme that includes in its curriculum the courses Algebraic Number theory and Arithmetic Geometry. I would like recommendations of number theory books (ideally with solved exercises) that build solid background for these two courses.
Thank you very much in advance!