Use the following steps to solve a given problem of supervised learning:
1. Determine the type of training examples,
2. Gather a training set.
3. Determine the input feature representation of the learned function.
4. Determine the structure of the learned function and corresponding learning algorithm.
5. Run the learning algorithm on the gathered training set. 
6. Evaluate the accuracy of the learned function.