## Task 1 - 180711

Four students, Ernst, Franz, Karl, and Martin, whose last names (possibly in a different order) are Altmann, Müller, Neubert, and Tauber, met at a birthday party. Each of them brought exactly one gift for the birthday person. In addition, it is known:

(1) Martin brought roses, Altmann brought a pen, Müller brought a book, and Karl brought a box of chocolates.

(2) During the evening, Martin was the first to leave, Neubert was the second, then Ernst, and finally Müller.

What are the full names of these students?
The students are named Ernst Altmann, Franz Müller, Karl Neubert, and Martin Tauber.

Reasoning: Due to (1), neither Martin nor Karl can be named Altmann or Müller.

Due to (2), Martin cannot be named Neubert, so Martin must be Tauber.

Therefore, Karl cannot be Tauber, so he must be Neubert. Ernst and Franz must therefore be Altmann or Müller. Ernst cannot be Müller according to (2).