require "directions"
input = STDIN.read.chomp
directions = Directions.for input
puts "Part 1: #{directions.final_floor}"