/* * Solution Template for Sitting or Standing? * * This file is provided to assist with reading of input and writing of output * for the problem. You may modify this file however you wish, or * you may choose not to use this file at all. */ #include int r; int s; int num_tickets; int num_sitting; int num_standing; int main(void) { /* Read the input. */ scanf("%d%d", &r, &s); scanf("%d", &num_tickets); /* * TODO: This is where you should compute the answers and store them into * the variables num_sitting and num_standing. */ /* Write the answer. */ printf("%d %d\n", num_sitting, num_standing); return 0; }