If a < b < c < d < e are five consecutive positive integers, what is the smallest value of c such that b + c + d is a perfect square and a + b + c + d + e is a perfect cube?
Source: AIME