Maya and Rashad are going to the beach and are trying to figure out how many snacks they should bring with them. The longer they stay at the beach the more snacks they should bring. Identify the independent variable (input 1 if the independent variable is the number of snacks) and input 2 if the independent variable is the time on the beach

Input 2: time on the beach