Problem1181--气球

1181: 气球

Time Limit: 1.000 Sec  Memory Limit: 128 MB
Submit: 445  Solved: 203
[Submit] [Status] [Web Board] [Creator:]

Description

 

商店里有一些气球,其中蓝气球和红气球共n只,蓝气球和黄气球共m只,黄气球和红气球共k只。问红、蓝、黄气球各有多少只?

 输入:

13 18 15 

输出 :

red:5 blue:8 yellow:10


 输入:

21 28 29
输出:
red:11 blue:10 yellow:18


Input



Sample Input

13 18 15

Sample Output

red:5 blue:8 yellow:10

Source/Category


[Submit] [Status]