10 while read -a things -u 3; do
13 ((depth-=${things[1]}))
17 ((depth+=${things[1]}))
21 ((horizontal+=${things[1]}))
22 depth_calc=$((things[1]*aim))
23 ((aim_depth+=$depth_calc))
24 ((aim_horizontal+=${things[1]}))
29 echo "horz * depth = $((depth*$horizontal))"
30 echo "aimed version = $((aim_depth*$aim_horizontal))"