Problem 1C
Problem 1D
More efficient: only goes through sequence once
Problem 1E
Problem 1F
Add Problem 1G
- Stepic version has a slightly different input format
Problem 1H