Карсаков - Лабораторная работа #1

n\t
Looks like `if (!(o instanceof Currency))` would be more elegant.