#piles solution