second test task for FlatStack