I was already thinking that this sounded like an easy terminal command, but I didn't quite know the syntax to send it into bc. I have to read the man page for paste again.
Thank you for teaching me that you can do { } in the shell! That's so useful, I can't believe I never knew that!