Dead pins

Hi all! How are you?

Working on a proyect with my arduino, i noticed that i have 2 pins that don't work as INPUT (when i bought my arduino they worked), these are A0 and 13, I tested it with the example sketches, in the serial monitor A0 with a variable resistor doesn't change from 1023.

And pin 13 in the serial monitor doesn't change from 1.

But both works as OUTPUT.

Is there any way to fix it?

Greetings ;)

replace atmega-chip.. or accept it

And how i know that the problem is of the chip?

Alferciu: And how i know that the problem is of the chip?

It can't be anything else.

Ok, i will replace it, thanks :) :)