Codingbat solutions by Marius Žilėnas