const input = document.querySelector('body > main > form > table > tbody > tr:nth-child(3) > td:nth-child(2) > input'); const challenge = document.querySelector('body > main > form > table > tbody > tr:nth-child(3) > td:nth-child(1)').innerText.split('=')[0]; input.value = eval(challenge);