Slide a, b, c, and d. Then press space, and then enter the target number.
Got the idea from my math class. Just a prototype. 9/10/14: 1 love from @leszpio!