Arduino Uno Upload Problem

I have an Arduino Uno with a atmega328p microcontroller. I have written code for it and my code compiles. However, when I upload, I get an error.

I have checked for the correct port and the correct board. I believe that the board is Arduino Duemilanove if I am not mistaken.

All of my drivers are up to date.

Here are the errors that I am getting below.
[ERROR]
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x53
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x53
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
[ERROR]

Not that it really matters since it compiles, but here is my code below just in case.

const int pinInput = 1;
const int pinOutput = 2;
void setup() {
  // put your setup code here, to run once:
  pinMode(pinOutput,OUTPUT);
  pinMode(pinInput,INPUT);
  Serial.begin(9600);
}


void loop() {
  int reading = digitalRead(1);

  if(reading == HIGH)  {
    digitalWrite(pinOutput,LOW);
  }
  else  {
    digitalWrite(pinOutput,HIGH);
  }
  Serial.print("\n");
  Serial.println(reading);
}
[code]

When uploading you have to select UNO is that's what the board is not the Duemilanove.

You have to compile and upload to the same type.

I changed the board type to UNO and I stil get the same error