Given enough data to work with for comparisons to get general rules from and enough processing power you can do a lot more than something this trivial.
Now if they can get get it to pass a Turing test convincingly - that’d be something.
Watson is the size of 8 refrigerators and has its own air conditioning system.
It is not linked up to the internet in any way, it stores all of its data in memory.
:rofl