Oracle interview question

python and java codingames ?