print('NO' if b<(2*a) or 4*a<b or b%2==1 else 'YES\n%d %d'%(2*a-b/2,b/2-a)) #但我有看沒懂,這裡用到後面章節字串格式化.
確定! 回上一頁