Exercise 1: The elevator

Six study subjects arrive in a consecutive order, and they all want to use the elevator in B3, which has a maximum capacity of 630kg.
In this exercise, we will create R code to decide which persons can enter the elevator.
(
This exercise was created pre corona)

Creating vectors

Create a vector (named weights.lb) with the following person weights (in pounds): 132, 187, 220 , 165, 113, 122 lb