https://shkola.obozrevatel.com/gdz/10klass/informatika/1139/27201/560927/
задание 4