Pregunta de entrevista de Revolut

Simple Bayes theorem-like task (calculate probability)