How can I use the individual values of an input table?