I/O input reading random

Yes,
program is very simple, I just started to use Arduino and I'm still testing basical functions

void setup() {
Serial.begin(9600);
pinMode(2, INPUT);
}

void loop() {
int sensorValue = digitalRead(2);
Serial.println(sensorValue, DEC);
}

:frowning: