TP

Input
Output
Result appears here.