JS rating form with condition

Want make two steps html + js script for for rating system
First I want ask user a simple question.

Do you want block user yes or not

if YES in 3 other group A B C with range from 0 to 10 script auutomaticly check 0 0 0

if NOT in 3 other group A B C with range from 0 to 10 user will check radiobutton anyone he want

and

if user check YES script auutomaticly check 0 0 0 and user change answer from 0 to another option than radiobutton change from YES to NO

I am not sure its clear for everyone

enter image description here