D. Cow and Snacks
time limit per test2 seconds
memory limit per test256 megabytes
inputstandard input
outputstandard output
The legendary Farmer John is throwing a huge party, and animals from all over the world are hanging out at his house. His guests are hungry, so he instructs his cow Bessie to bring out the snacks! Moo!
There are