How to solve SPOJ problem YAPP?
Problem link
Why is the answer 2 ^ ( n — 1 ) ?
CodeChef Starters 136 Solution Discussion