Demo (Radio Button):

Input

Output