Problem: https://adventofcode.com/2021/day/2

Please for changing the code fork it in repl.it or copy

Java Solution

Rust Solution

Golang Solution