Reset to p01's last working version. 
sheet: 394 bytes: use top[i] to access the input elements, updated link