I read that value for my clarification if the data will be stored in EEPROM or Not.
I don't understand that statement.
Before this statement:
Serial.println(EEPROM.get(n, p));
Add
p = 144;
After that statement, add
Serial.print("p = ");
Serial.println(p);
Correct the issue that the helicopter guy pointed out, and show us the new output.