Arduino uno shutting off when connecting A0 pin to 2 resistences

Everything works perfectly until I connect the analog 0 pin to the 2 resistences.
I have attached a picture of the tinkercad’s circuit and a bunch of pictures of the real circuit
I don’t know if that is caused by a short circuit or something else.
I’m a bit noob so i would like your help.

this is the code:

// Arduino Ohm meter, Misura resistenze
// Autore Fancello Salvatore
// Per maggiori info:

int analogPin= 0; // Pin Analogico A0
int raw= 0;
int Vin= 5; // Volt in uscita dal Pin 5V di Arduino
float Vout= 0;
float R1= 1000; // impostare il valore della resistenza nota in Ohm
float R2= 0;
float buffer= 0;

#include <LiquidCrystal.h>

LiquidCrystal lcd(12, 11, 5, 4, 3, 2);

void setup()
lcd.begin(16, 2); //Inizializzazione display
Serial.begin(9600); //Apro la comunicazione seriale

void loop()
raw= analogRead(analogPin);
buffer= raw * Vin;
Vout= (buffer)/1024.0;
buffer= (Vin/Vout) -1;
R2= R1 * buffer;
Serial.print("Vout: ");
Serial.print("R2: ");
lcd.print(“OHM METER”);
lcd.setCursor(0, 1);
lcd.print("R2: ");

This is my arduino board:

Thanks in advance.

I think you forgot the TinkerCad thing. I looked at all your pictures and they are all of your breadboard and I can't see anything under the mess of jumper wires.