1 """Calculate the final position of the submarine"""
5 with open("2_1_input.txt") as f:
7 command, distance = line.split(" ")
8 distance = int(distance)
14 elif command == "forward":
17 raise RuntimeError("you fucked it captain")
19 print(horizonal, depth, horizonal * depth)