Toggle between two functions


Input

Output