Kubica interview question

Program a toggle switch in ladder logic